Search found 31 matches
- Mon Dec 14, 2015 4:26 pm
- Forum: GUI Toolkit & 2D Graphics
- Topic: Confused with code behaviour
- Replies: 6
- Views: 69478
Re: Confused with code behaviour
Following on from my original code posting, I've found another 'funny'. With this Button code: Button biasBox1 { this, background = white, isCheckbox = true, checked = true, position = { 351, vCheckTop }; bool OnKeyDown(Key key, unichar ch) { if(key == down) { form1.biasMovement(1, 'd'); } if(key ...
- Mon Dec 14, 2015 6:25 am
- Forum: GUI Toolkit & 2D Graphics
- Topic: Confused with code behaviour
- Replies: 6
- Views: 69478
Re: Confused with code behaviour
I'm not exactly sure of the behavior you're looking for, but I imagine the biggest problem in the code you pasted is the fact that you're missing 'break' statements for the higher level case statements of the switch(upDown) in selectionMovement(). This fixed it. Ah, the quirks of different language...
- Sun Dec 13, 2015 5:55 pm
- Forum: GUI Toolkit & 2D Graphics
- Topic: Confused with code behaviour
- Replies: 6
- Views: 69478
Confused with code behaviour
Sorry Jerome, I'm here again... I know it's not your job to help me debug my programs, but I'm struggling to work out what's going on with some sample code I've created; I can only guess that it's my lack of knowledge about the underlying gui code that's the problem. Either that or I've made a simpl...
- Sun Dec 13, 2015 9:33 am
- Forum: GUI Toolkit & 2D Graphics
- Topic: Control layer
- Replies: 8
- Views: 70869
Re: Control layer
Thanks, Jerome.
My apologies, but I hadn't realised the ide was only 2MB in size - I had visions (and memories) of compiling apps on the *BSDs, which often consisted of a few days cursing and swearing...
My apologies, but I hadn't realised the ide was only 2MB in size - I had visions (and memories) of compiling apps on the *BSDs, which often consisted of a few days cursing and swearing...
- Sat Dec 12, 2015 8:18 am
- Forum: GUI Toolkit & 2D Graphics
- Topic: Control layer
- Replies: 8
- Views: 70869
Re: Control layer
Thanks, Jerome.
It would be nice if you could possibly provide an exe; the laptop I'm using for development is ancient and very short on HDD space... and if I made a mess it would also hold up what is taking me far too long to do already.
It would be nice if you could possibly provide an exe; the laptop I'm using for development is ancient and very short on HDD space... and if I made a mess it would also hold up what is taking me far too long to do already.
- Fri Dec 11, 2015 4:11 pm
- Forum: GUI Toolkit & 2D Graphics
- Topic: Control layer
- Replies: 8
- Views: 70869
Re: Control layer
New video on its way...
- Fri Dec 11, 2015 3:15 pm
- Forum: GUI Toolkit & 2D Graphics
- Topic: Control layer
- Replies: 8
- Views: 70869
Re: Control layer
You can set 'fullRender = true' on the parent form to work around this issue That got it, thanks. On a related note though this sounds like a different path than the 2 options I was proposing regarding checkboxes together with listboxes. I'm scared to hear about the new problems you will discover i...
- Fri Dec 11, 2015 2:48 pm
- Forum: GUI Toolkit & 2D Graphics
- Topic: TAB order
- Replies: 4
- Views: 57866
Re: TAB order
Ah yes, my stupidity strikes again
I had tabCycle set on the children but not on the parent.
D'oh!
I had tabCycle set on the children but not on the parent.
D'oh!
- Fri Dec 11, 2015 1:21 pm
- Forum: GUI Toolkit & 2D Graphics
- Topic: Control layer
- Replies: 8
- Views: 70869
Control layer
I have another oddity, but this might be down to my misunderstanding... I have placed a checkbox on top of a listbox, and the listbox is set inactive but visible. If I click the listbox behind the checkbox, the checkbox disappears unless I move the cursor to where the checkbox is, in which case it b...
- Fri Dec 11, 2015 12:50 pm
- Forum: GUI Toolkit & 2D Graphics
- Topic: TAB order
- Replies: 4
- Views: 57866
Re: TAB order
Hi Jerome, I've just hit another issue with tabs, although perhaps there is an alternative to the way I've done things in order to avoid the problem...? In order to split my UI into related parts, I used child windows for groups of controls on a single parent. I have now noticed that when tabbing fr...