Search found 4 matches
- Wed Aug 05, 2015 4:28 pm
- Forum: Coding Questions
- Topic: Use of macro's in modules
- Replies: 3
- Views: 1323
Re: Use of macro's in modules
Sometimes it's so obvious... Thanks!
- Wed Aug 05, 2015 2:53 pm
- Forum: Coding Questions
- Topic: Use of macro's in modules
- Replies: 3
- Views: 1323
Use of macro's in modules
I"m getting some weird results when using macro's in modules. When a macro defines a global variable, it doesn't seem to act like one. Can somebody explain? Or is this a bug? (Tested on MacOSX and Windows with PB5.24/5.31: same results.) DeclareModule TestGlobal Macro DefineGlobal() Global a=10...
- Tue Aug 13, 2013 5:49 pm
- Forum: Feature Requests and Wishlists
- Topic: SpinGadget Focus/Lostfocus eventtypes
- Replies: 2
- Views: 670
SpinGadget Focus/Lostfocus eventtypes
It would be nice to have a SpinGadget that supports the focus and lostfocus events, just like the other "input" gadgets (stringgadget and editable comboboxgadget). On Windows I have already made a workaround (see below), but I don't know how it could be done on MacOSX (cocoa) or Linux. Pro...
- Thu Jan 31, 2013 6:58 pm
- Forum: Coding Questions
- Topic: Windows in a dynlib / DLL
- Replies: 2
- Views: 1614
Windows in a dynlib / DLL
The code below works with PB 4.61 (x86, MacOSX) and with PB 4.61/5.10b5 (x86, Windows). But it behaves strangely with PB 5.10b5 (x86, MacOSX). The button (in the main window) disappears when clicked. After the second Window is displayed, both the windows can't be closed anymore... Changing the butto...