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?

Text Box Height & Border Around Label

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-14-2008, 04:27 AM
ceaser's Avatar
Basic4ppc Veteran
 
Join Date: May 2008
Location: Paarl, South Africa
Posts: 312
Default Text Box Height & Border Around Label

Hi

1. Is it possible that I can set my own height of my text boxes and not let Basic4ppc set the height according to the font size that I have selected.

2. It would be nice to be able to have the label box have a border around.

Thanks
Michael
(ceaser)
Civil Engineering And Surveying Earthworks Routines
Reply With Quote
  #2 (permalink)  
Old 05-14-2008, 05:37 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,689
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

1. This is the underlying OS control behavior. If Multiline is set to true it is possible to change the height.
2. You can draw the border. Something like:
Code:
Sub App_Start
    Form1.Show
    DrawBorder(
"Label1",cBlack)
End Sub

Sub DrawBorder(label,color)
    x = Control(
label).Left-1
    y = Control(
label).Top-1
    form1.Line(x,y,x + Control(
label).Width+2,y + Control(label).Height + 2,color,b)
End Sub
Reply With Quote
  #3 (permalink)  
Old 05-14-2008, 08:02 AM
ceaser's Avatar
Basic4ppc Veteran
 
Join Date: May 2008
Location: Paarl, South Africa
Posts: 312
Default

Thanks

Sorry about these questions. Having programmed in NSBasic for 3 years and only 2 weeks with Basic4ppc, I am still trying to find my feet!

Michael
Reply With Quote
  #4 (permalink)  
Old 05-14-2008, 08:07 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,689
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

No problem. Please feel free to ask any question!
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
Label/Text Control text centering TWELVE Basic4ppc Wishlist 1 06-04-2008 03:20 PM
Button Control text label word wrap TWELVE Basic4ppc Wishlist 0 06-04-2008 05:55 AM
Turning text box/label upside down stbi Questions (Windows Mobile) 1 04-16-2008 03:26 PM
Problem with VGA form.Height willisgt Questions (Windows Mobile) 2 03-01-2008 06:57 AM
Form.Height in Fullscreen berndgoedecke Questions (Windows Mobile) 2 01-24-2008 07:10 PM


All times are GMT. The time now is 11:17 AM.


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