Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


set focus function


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-13-2008, 04:40 PM
gjoisa's Avatar
Knows the basics
 
Join Date: Feb 2008
Location: Udupi , India
Posts: 53
Default set focus function

How to set cursor to a textbox while showing a form ?
Reply With Quote
  #2 (permalink)  
Old 05-13-2008, 04:49 PM
Senior Member
 
Join Date: Apr 2007
Location: Copenhagen
Posts: 143
Default

Just use the focus method: Textbox1.Focus

/ Björn
Reply With Quote
  #3 (permalink)  
Old 05-13-2008, 05:35 PM
gjoisa's Avatar
Knows the basics
 
Join Date: Feb 2008
Location: Udupi , India
Posts: 53
Default

i have tried it .
Code:
#text.Focus
Form1.Show#

It is not working .
Reply With Quote
  #4 (permalink)  
Old 05-13-2008, 05:53 PM
specci48's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 650
Default

Do it the other way round. First show the form and then set the focus.


specci48
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
TextBox Focus cdeane Questions & Help Needed 6 10-16-2008 04:17 PM
focus on TextBox desired mircome Questions & Help Needed 2 10-01-2008 03:20 PM
Capture name of control that has focus aerohost Questions & Help Needed 5 06-21-2008 11:31 PM
Focus pmu5757 Questions & Help Needed 2 03-21-2008 06:16 PM
Focus pmu5757 Basic4ppc Wishlist 2 03-21-2008 06:11 PM


All times are GMT. The time now is 01:40 AM.


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