forlano Messages: 1202 Registered: March 2006 Location: Italy
Senior Contributor
Hello,
the application now does not crash, but all my beautiful tabctrls are disappeared and I cannot use the app!
In 607-dev1 I used
tabs.Set(2, false);
to set the focus on page 2 but now seems I must remove the second argument. The layout file now looks darker than previous version.
The "TabCtrl tabs" is connected with the splitter in this way:
that should be OK. So for the moment I'm a bit confused. Tomorrow I'll inquire better to understand why the tabctrl are not displayed with the splitter with some minimalist example.
forlano Messages: 1202 Registered: March 2006 Location: Italy
Senior Contributor
forlano wrote on Wed, 23 August 2006 01:44
Hello,
the application now does not crash, but all my beautiful tabctrls are disappeared and I cannot use the app!
In 607-dev1 I used
tabs.Set(2, false);
to set the focus on page 2 but now seems I must remove the second argument. The layout file now looks darker than previous version.
The "TabCtrl tabs" is connected with the splitter in this way:
that should be OK. So for the moment I'm a bit confused. Tomorrow I'll inquire better to understand why the tabctrl are not displayed with the splitter with some minimalist example.
Luigi
I'm afraid there is some serius problem in the interaction between splitter and tabctrl. Attached is my old example code posted somewhere in the forum that worked nicely. The relevant file in main.cpp. With respect the previous version I have added the IsNull() in place of '=='. The tabctrl simply do not longer appear with 608-dev1.
I do not think it is the setting of my compiler. I'll be grateful if somebody running 608-dev1 could check how it looks (is there a tabctrl at the start of the application?).
forlano Messages: 1202 Registered: March 2006 Location: Italy
Senior Contributor
luzr wrote on Wed, 23 August 2006 12:00
BTW, what was the cause of crashing?
I removed that cause (a C style string passed to a function that waited a String). Now works but not as it should work.
I'm sorry for wasting your time but it looks very strange. Same compiler, same code, same procedure to install the distro, but opposite result.
However, this seems to be a kind of glitch in U++ (because Splitter allows more than two panes and you would be required to call Horz or Vert at the end), therefore I have fixed U++ to work even with original code.
forlano Messages: 1202 Registered: March 2006 Location: Italy
Senior Contributor
luzr wrote on Thu, 24 August 2006 17:16
However, this seems to be a kind of glitch in U++ (because Splitter allows more than two panes and you would be required to call Horz or Vert at the end), therefore I have fixed U++ to work even with original code.