473,473 Members | 1,970 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

setfocus eh ! help

Hi

whats the new alternative to setfocus in vb.net ?

thanks in antisipation - j
Nov 18 '05 #1
3 1121
What is "setfocus"? What language are you refering to? Can you post some
documentation on what "setfocus" does?

Greetings
Martin
"jaffer the but" <JJ@P.CO.UK> wrote in message
news:#L**************@TK2MSFTNGP09.phx.gbl...
Hi

whats the new alternative to setfocus in vb.net ?

thanks in antisipation - j

Nov 18 '05 #2
Hi Jaffer,

On a webform there is not, and because I think you are not ask it for a
windowform where it is
control.focus

You can set the focus in a webform by adding this as last rows before the
</html> in you aspx page.

<script language="JavaScript">
contolid.focus();
</script>

where controlid is the id of your control

I hope this helps a little bit?

Cor
Nov 18 '05 #3
Here's a cut and Paste Row on how I use it!

FocusManager1.BoundControlID = Request.Item(Me.UniqueID & "_tbOnFocus")

/lars

"Lars Netzel" <la*********@qlogic.se> skrev i meddelandet
news:ew**************@TK2MSFTNGP10.phx.gbl...
Here's a DLL I use sometimes and it works fine to set focus on certain
things!

/Lars

"jaffer the but" <JJ@P.CO.UK> skrev i meddelandet
news:%2****************@TK2MSFTNGP09.phx.gbl...
Hi

whats the new alternative to setfocus in vb.net ?

thanks in antisipation - j


Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Corepaul | last post by:
I am a newbie using Access 2000. I am using the following test in the txtAlbum OnExit procedure to prevent leaving an empty text box for a required field If (IsNull(txtAlbum.Value)) Or...
4
by: Mad Scientist Jr | last post by:
i am trying to set focus to a specific control depending on the outcome of a validator control and it is not working. none of these methods are working to setfocus: 1....
12
by: Michael R | last post by:
TabCtrl --- ..............Tab1--Subform1 ..............Tab2--Subform2---TabCtrl2---Tab21 ..........................................................---Tab22...
5
agroover
by: agroover | last post by:
I can't seem to figure out how to get rid of the errors. I recieve the following error when I leave the Grade.SetFocus in my code... Microsoft Access can't move the focus to the control Grade ...
3
by: ckrows | last post by:
I have a main form with a button that makes a subform visible. I added a button in the form footer of the subform that is supposed to hide the subform. This does not work because the focus is on...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.