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.

Naming a textbox

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-28-2010, 10:39 AM
Knows the basics
 
Join Date: Jul 2009
Posts: 51
Default Naming a textbox

When you want to name a textbox in device IDE and set textbox with no text in it doesn't name the textbox at all from the name properties that you declared, it reverts back to textbox1 for some reason, even after save.

Im not sure if this is a bug as such, it works ok on desktop ide.
Reply With Quote
  #2 (permalink)  
Old 04-28-2010, 10:50 AM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 4,463
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

In the desktop IDE the same happens with multiline textboxes.
__________________
Klaus
Switzerland

Beginner's Guide / User's Guide
Reply With Quote
  #3 (permalink)  
Old 04-28-2010, 06:06 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,714
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

@tinmanjo what are the exact steps required to reproduce it?
@klaus are you sure that you haven't left the multiline text field (at the bottom) with the text? It can be a little bit confusing.
Reply With Quote
  #4 (permalink)  
Old 04-28-2010, 06:46 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 4,463
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

Hi Erel,
Quote:
@klaus are you sure that you haven't left the multiline text field (at the bottom) with the text? It can be a little bit confusing.
Sorry, I don't understand what you do mean.

With the attached sample program, in the desktop IDE, in the form designer, if you try to remove the text of TextBox2 (multiline textbox) in the text field it always comes back. And always the original name given by the designer. Even if you change the textboxe's name the first name of the control comes back.
The text of TextBox1 (single line textbox) can be cleared.

Best regards.
Attached Files
File Type: sbp TextBoxes.sbp (530 Bytes, 12 views)
__________________
Klaus
Switzerland

Beginner's Guide / User's Guide
Reply With Quote
  #5 (permalink)  
Old 04-29-2010, 04:25 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,714
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

The text of a multiline textbox is not set in the regular text field. There is another larger field at the bottom of that section. The question is why the regular field is not disabled in that situation...

I wasn't able to reproduce the name problem. Can you write a step by step instructions for it?
Reply With Quote
  #6 (permalink)  
Old 04-30-2010, 07:41 AM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 4,463
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

Hi Erel,
Quote:
The text of a multiline textbox is not set in the regular text field. There is another larger field at the bottom of that section.
I had never noticed that the Data field changed to Multiline Text field!?
I always tried to enter the text in the Text field.
With MultiLine the Text field should be hidden or at least disabled with nothing in.

The name problem was with the Text field.
By default the Text and Multiline Text fields contain the TextBox's Name for example TextBox1.
If you clear the Text field and then rename the TextBox to TextBox2 and click on OK, in the Text field TextBox1 comes back. But now I know that the content of the TextBox is the content of the MultiLine Text field and this one is simply copied to the Text field when clickon on OK.

But as soon as the Text filed will be hidden or disabled there will be no confusion anymore.

Best regards.
__________________
Klaus
Switzerland

Beginner's Guide / User's Guide
Reply With Quote
  #7 (permalink)  
Old 04-30-2010, 08:26 PM
Knows the basics
 
Join Date: Jul 2009
Posts: 51
Default

Quote:
Originally Posted by Erel View Post
@tinmanjo what are the exact steps required to reproduce it?
@klaus are you sure that you haven't left the multiline text field (at the bottom) with the text? It can be a little bit confusing.
All i do is create a textbox on the device IDE 6.80 and 6.90 and then delete the text field, so take out what the text field contains, now if you change the textbox name it then doesnt retain that name, it still shows as textbox1
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Naming conflict with ListView corwin42 Questions (Windows Mobile) 0 08-10-2009 09:05 PM
Naming error in Maxim's db2000 functions library RB Smissaert Questions (Windows Mobile) 2 12-10-2008 09:17 AM
naming sample files bdiscount Questions (Windows Mobile) 1 02-19-2008 12:27 AM
Textbox? Tanner Questions (Windows Mobile) 2 12-28-2007 11:00 PM
Textbox to textbox kavka Questions (Windows Mobile) 5 12-22-2007 06:20 PM


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


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