U++ framework
Do not panic. Ask here before giving up.

Home » Community » Newbie corner » OK and Cancel Layout
OK and Cancel Layout [message #60742] Thu, 22 August 2024 01:55 Go to previous message
sduensin is currently offline  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?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Getting the SQL statement without execute it
Next Topic: [SOLVED]sizing problem when adding a Droplist to a Toolbar
Goto Forum:
  


Current Time: Sat Apr 25 16:38:59 GMT+2 2026

Total time taken to generate the page: 0.00656 seconds