Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: Fri Aug 01 23:22:37 CEST 2025

Total time taken to generate the page: 0.17128 seconds