[PB5.10] Underline Buttontext
Posted: Sun Feb 17, 2013 8:44 pm
With XP-Style enabled, the first Signs of Buttontext is underlined after pressing ALT-Key, but the
underline doesn't go away after none pressing ALT-Key.
Without XP-Style the first Signs of Buttontext is underlined without pressing anything (correct) but
the underline is gone after filerequester and doesn't come back after closing filerequester.
On Linux is never a underlined Buttontext.
Examplesource:
see here in german forum: http://www.purebasic.fr/german/viewtopi ... 81#p309381
underline doesn't go away after none pressing ALT-Key.
Without XP-Style the first Signs of Buttontext is underlined without pressing anything (correct) but
the underline is gone after filerequester and doesn't come back after closing filerequester.
On Linux is never a underlined Buttontext.
Examplesource:
Code: Select all
EnableExplicit
OpenWindow(0, #PB_Ignore, #PB_Ignore, 640, 480, "")
ButtonGadget(0, 10, 10, 200, 25, "&Test Button")
Repeat
Select WaitWindowEvent()
Case #PB_Event_CloseWindow
Break
Case #PB_Event_Gadget
Select EventGadget()
Case 0
OpenFileRequester("", "", "", 0)
EndSelect
EndSelect
ForEver