Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Basic4ppc Wishlist > Bug Reports
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Bug Reports Post about errors or bugs encountered.

Tab Control bug?

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-14-2008, 04:19 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default Tab Control bug?

Willisgt is having trouble with TabControl. This is a fully pared down demo of the problem. Run it. Press the button, see Form2 with a TabControl but note that tab.visible is false despite being explicitly set true yet the tab is visible. Close Form2 and press the button - no TabControl, visible property still false

Compiled exes behave the same so I suspect a bug in ControlsEx.dll.
Reply With Quote
  #2 (permalink)  
Old 03-14-2008, 04:26 PM
specci48's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 1,057
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Quote:
Originally Posted by agraham View Post
... so I suspect a bug in ControlsEx.dll.
Small addition:
The old TabControl.dll shows the same (buggy) behaviour.

specci48
Reply With Quote
  #3 (permalink)  
Old 03-14-2008, 05:16 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,703
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

There is a fix to this bug here: http://www.basic4ppc.com/forum/showt...0552#post10552

About the Visible error, if a form is hidden all its child controls are regarded as not visible.
When you check the Visible property in sub Form2_Show, form2 is still hidden and therefore will return false.
Reply With Quote
  #4 (permalink)  
Old 03-14-2008, 05:24 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by Erel View Post
About the Visible error, if a form is hidden all its child controls are regarded as not visible.
Thanks Erel, I was just about to post that I had found that the visibility thing was a red herring!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On


All times are GMT. The time now is 03:18 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0