Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » New and GUI Problem with TabCtrl
New and GUI Problem with TabCtrl [message #34335] Wed, 16 November 2011 15:01 Go to next message
Wolfgang is currently offline  Wolfgang
Messages: 146
Registered: November 2011
Location: Germany
Experienced Member
Hi,

I'm really new to U++ and I got a problem with the GUI.
Just tried to make a simple calculator (to get in touch with the IDE) and now heres my first problem, the TabCtrl is cut at the half of it.

ITEM(TabCtrl, tabViews, LeftPosZ(20, 460).TopPosZ(208, 132))


tabViews <<= THISBACK(changeView);
    tabViews.Add("Hide");
    tabViews.Add("Error");


This should be the relevant code... I think the screenshot shows what I mean..

Thank you for help!

Wolfgang

Btw. Hello to all! Very Happy
  • Attachment: problem.png
    (Size: 34.60KB, Downloaded 218 times)
Re: New and GUI Problem with TabCtrl [message #34336 is a reply to message #34335] Wed, 16 November 2011 16:51 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Wolfgang wrote on Wed, 16 November 2011 09:01

Hi,

I'm really new to U++ and I got a problem with the GUI.
Just tried to make a simple calculator (to get in touch with the IDE) and now heres my first problem, the TabCtrl is cut at the half of it.

ITEM(TabCtrl, tabViews, LeftPosZ(20, 460).TopPosZ(208, 132))


tabViews <<= THISBACK(changeView);
    tabViews.Add("Hide");
    tabViews.Add("Error");


This should be the relevant code... I think the screenshot shows what I mean..

Thank you for help!

Wolfgang

Btw. Hello to all! Very Happy

Hard to say. It does not do this normally, I swear. Could you eventually zip the whole package and send here? (Better option than sending .png anyway).

Mirek
Re: New and GUI Problem with TabCtrl [message #34337 is a reply to message #34335] Wed, 16 November 2011 17:16 Go to previous messageGo to next message
Sender Ghost is currently offline  Sender Ghost
Messages: 301
Registered: November 2008
Senior Member
Wolfgang wrote on Wed, 16 November 2011 15:01


This should be the relevant code... I think the screenshot shows what I mean..


Hello, Wolfgang.

Your screenshot shows the problem in the context of other layout items.

I attached package with correct layout example. It contains example with composite layouts, with using Splitter, also.
Re: New and GUI Problem with TabCtrl [message #34338 is a reply to message #34335] Wed, 16 November 2011 17:28 Go to previous messageGo to next message
Wolfgang is currently offline  Wolfgang
Messages: 146
Registered: November 2011
Location: Germany
Experienced Member
Thanks a lot for the fast replys...

I'll take a look at the Splitter example... as I told you I'm really new to U++, specially to GUI so sorry if I don't know all posibilities.

I'll send the whole package tomorrow (projekt is on another computer..) as a zip file.

Wondered how to get more widgets? into the designer?!
Re: New and GUI Problem with TabCtrl [message #34343 is a reply to message #34335] Thu, 17 November 2011 11:03 Go to previous messageGo to next message
Wolfgang is currently offline  Wolfgang
Messages: 146
Registered: November 2011
Location: Germany
Experienced Member
Here's the "problem" archive...
Re: New and GUI Problem with TabCtrl [message #34344 is a reply to message #34343] Thu, 17 November 2011 12:42 Go to previous messageGo to next message
forlano is currently offline  forlano
Messages: 1182
Registered: March 2006
Location: Italy
Senior Contributor
Wolfgang wrote on Thu, 17 November 2011 11:03

Here's the "problem" archive...


It seems you have not properly anchored the TabCtrl to the bottom of the layout. I modified it in this way:
index.php?t=getfile&id=3518&private=0
and the clock appeared while before was hided.

Luigi
  • Attachment: layout.png
    (Size: 9.53KB, Downloaded 340 times)
Re: New and GUI Problem with TabCtrl [message #34346 is a reply to message #34344] Thu, 17 November 2011 15:47 Go to previous message
Wolfgang is currently offline  Wolfgang
Messages: 146
Registered: November 2011
Location: Germany
Experienced Member
thanks a lot... sorry for such a stupid request but I just try to learn. Very Happy
Previous Topic: Best Unicode strategy
Next Topic: ArrayMap<String,TabCtrl::Item> - check if String exists..
Goto Forum:
  


Current Time: Thu Mar 28 21:27:02 CET 2024

Total time taken to generate the page: 0.01455 seconds