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

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

Basic4ppc Wishlist Missing any feature?

Readonly property in the Textbox control

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 11-10-2007, 02:23 PM
bidibulle's Avatar
Junior Member
 
Join Date: Oct 2007
Location: France
Posts: 13
Awards Showcase
Beta Tester 
Total Awards: 1
Default

I prefer the DLL solution.

With "Textbox1.IgnoreKey" you can select the text and delete the text :-)

I will try to improve the DLL to more property.
Reply With Quote
  #12 (permalink)  
Old 11-10-2007, 04:21 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 Filippo View Post
You have not understood mine code! It should be only one beispiel like a text box readonly can become.
Sorry Filippo but I am correct. I've run it in the IDE with a breakpoint on "AddEvent (objTextbox ,"KeyPress", "goIgnorekey")" in Sub ConvertTextboxToLabel(objTextbox) and every time you move the focus to txtReadWrite and then back to txtReadonly this statement is executed.
Reply With Quote
  #13 (permalink)  
Old 11-10-2007, 05:45 PM
bidibulle's Avatar
Junior Member
 
Join Date: Oct 2007
Location: France
Posts: 13
Awards Showcase
Beta Tester 
Total Awards: 1
Default

I improved the DLL and I changed the name.
TextboxEx added the following property to the textbox:
- ReadOnly : Readonly property
- Maxlength : Maximum characters in the textbox
- bsNone : No border
- bsSingle : Single border
- bs3D : 3D border

I try to add the 'Textalign' property but it didn't work in the PPC :-(

I attached the Sharpdevelop project and an example.

TextBoxEx.zip
TextBoxEx example.zip
Reply With Quote
  #14 (permalink)  
Old 11-16-2007, 04:12 AM
alfcen's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu Islands
Posts: 810
Send a message via Skype™ to alfcen
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Gentlemen, these Textbox properties definitely belong into the IDE
What do you think, Erel?
Reply With Quote
  #15 (permalink)  
Old 11-16-2007, 08:19 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,689
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

I would consider it adding to Basic4ppc internal textbox.
BTW, you can use FormLib to change the alignment.
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
Textbox Readonly IansResearch Questions (Windows Mobile) 12 12-22-2008 03:12 PM
Textbox with ReadOnly,IgnoreKey,TextAlignment Filippo Basic4ppc Wishlist 0 11-17-2007 08:23 PM
Can ComboBox be setted as readonly? blackiice Questions (Windows Mobile) 4 10-24-2007 03:15 PM
Catch hardkeys in textbox control ? conf Questions (Windows Mobile) 2 06-15-2007 10:28 PM
textbox control error in v5 Put Claude Bug Reports 2 05-19-2007 08:22 PM


All times are GMT. The time now is 10:55 AM.


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