Home » Community » Newbie corner » OK and Cancel Layout
OK and Cancel Layout [message #60742] |
Thu, 22 August 2024 01:55  |
sduensin
Messages: 8 Registered: August 2024 Location: Smithton, IL, USA, Earth
|
Promising Member |
|
|
I've just started using U++ and so far am impressed. However, I've run into some confusion with laying out dialogs that contain "OK" and "Cancel" buttons.
The tutorial says to name two buttons - one "ok" and one "cancel" - and then call CtrlLayoutOKCancel. I did this, and it works. But...
Can you not control the order of the buttons? On my form, I have "cancel" and then "ok". When it displays at runtime, the "ok" button is first! I can deal with this, except when using PromptOKCancel, they're the other way around!
How can I have consistent buttons?
|
|
|
 |
|
OK and Cancel Layout
By: sduensin on Thu, 22 August 2024 01:55
|
 |
|
Re: OK and Cancel Layout
By: koldo on Fri, 23 August 2024 07:43
|
 |
|
Re: OK and Cancel Layout
By: sduensin on Fri, 23 August 2024 23:33
|
 |
|
Re: OK and Cancel Layout
By: koldo on Sun, 25 August 2024 20:26
|
 |
|
Re: OK and Cancel Layout
By: sduensin on Mon, 26 August 2024 03:00
|
 |
|
Re: OK and Cancel Layout
By: koldo on Mon, 26 August 2024 09:34
|
 |
|
Re: OK and Cancel Layout
By: mirek on Mon, 02 September 2024 00:24
|
 |
|
Re: OK and Cancel Layout
By: sduensin on Tue, 27 August 2024 00:16
|
 |
|
Re: OK and Cancel Layout
By: koldo on Tue, 27 August 2024 08:15
|
 |
|
Re: OK and Cancel Layout
By: sduensin on Thu, 29 August 2024 00:31
|
Goto Forum:
Current Time: Fri Aug 01 23:22:37 CEST 2025
Total time taken to generate the page: 0.17128 seconds
|