Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Loading Gui Objects
Post: RE: Loading Gui Objects
Thx that work. I tried *combo() but not (*combo)() i'm not often write in C/C++, it was simple mistake :( |
|
radez |
Support |
4 |
4,657 |
12-06-2009, 09:46 PM |
|
|
Thread: Loading Gui Objects
Post: RE: Loading Gui Objects
the problem is that i can't run combo() if it is pointer; for example
Code:
int x;
ComboBox combo;
Gui+=combo.create(Rect_C(0.5,0,0.4,0.08))
...
x=combo(); //return index of selected element (int va... |
|
radez |
Support |
4 |
4,657 |
12-06-2009, 06:32 PM |
|
|
Thread: Loading Gui Objects
Post: Loading Gui Objects
Hi,
In the modified Loading Gui Objects tutorial, I added combobox loaded from file.When i use
Code:
ComboBox *combo;
...
D.text ( 0, 0.9,S+"combo element: "+combo() ); // draw selected element
c... |
|
radez |
Support |
4 |
4,657 |
12-06-2009, 05:09 PM |