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

Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Overwrite PromptOKCancel
Re: Overwrite PromptOKCancel [message #2456 is a reply to message #2450] Thu, 13 April 2006 13:45 Go to previous messageGo to previous message
victorb is currently offline  victorb
Messages: 78
Registered: December 2005
Location: Nice, France
Member
Use the Button::Ok() to give a button a Ok button look (Cancel(), Exit(), Normal() are other method of Button you can use for giving your button different looks).

One solution to have all your OK-Cancel look the same is to design your own OK-Cancel dialog with the layout editor and use it across your code.

If you name your buttons "ok" and "cancel" (lower case) you can invoke CtrlLayoutOKCancel() to set the button look and ID.

You should take a look at the Layout example in the reference code.

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Dialog returned values
Next Topic: Events outside TopWindow
Goto Forum:
  


Current Time: Sat Sep 05 20:22:07 GMT+2 2026

Total time taken to generate the page: 0.03076 seconds