Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Bug Reports
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Bug Reports Post about errors or bugs encountered.


V5.00 - Added Text Box not global ?


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-24-2007, 11:57 AM
Newbie
 
Join Date: May 2007
Posts: 7
Default V5.00 - Added Text Box not global ?

Hello,
I use a lot of "addtextbox" instructions in my application and it does not work anymore in V5 like it was in V4.
Everything looks like the dynamically created Text boxes (or other items) are not considered as GLOBALS anymore (they definitely were in V4).
In other words, a textbox object created with "addtextbox" in "sub mysub1" is not accessible in "sub mysub2".
By the way, compilation gives me errors if I check the new option "check for unassigned / unused variables" in the "tools" menu.
This is very annoying.
Any idea ?

Last edited by dpriem : 05-24-2007 at 12:44 PM. Reason: Explaining "globals"
Reply With Quote
  #2 (permalink)  
Old 05-24-2007, 12:38 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,092
Default

What do you mean with globals?

I ported my Image Pairs Games from v4 to v5, and after correcting a few minor error, in my case some ")" were missing, it runned correctly and faster....All the game controls, panel,image holder and buttons were created in runtime...
This means that addtexbox funcions correctly...
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD
Reply With Quote
  #3 (permalink)  
Old 05-24-2007, 12:49 PM
Newbie
 
Join Date: May 2007
Posts: 7
Default

Updated first post to explain "GLOBALS"
Reply With Quote
  #4 (permalink)  
Old 05-24-2007, 12:56 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,780
Default

All controls are global.
Can you post some code that shows the problem?
Reply With Quote
  #5 (permalink)  
Old 05-24-2007, 01:13 PM
Newbie
 
Join Date: May 2007
Posts: 7
Default

Oups,
Trying to write a very small code showing the problem, I found out the problem is not what I first thought !
In my application, I assign and retrieve the value of the textbox simply as "MyTextBox" without any problem in V4.
Apparently, in V5, I'll need to address it as "MyTextBox.Text" to make it work.
CAn you confirm this, or is there a shorter way to solve this issue ?
Reply With Quote
  #6 (permalink)  
Old 05-24-2007, 02:17 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,780
Default

That was my guess.
There are no default properties in version 5.00.
Reply With Quote
  #7 (permalink)  
Old 05-24-2007, 02:48 PM
Newbie
 
Join Date: May 2007
Posts: 7
Default

Thanks and sorry for the trouble !
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Label/Text Control text centering TWELVE Basic4ppc Wishlist 1 06-04-2008 03:20 PM


All times are GMT. The time now is 06:04 PM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0