Hi,
A button in a child form creates another form with a textbox showing with
show.
I set the taborder on first on this textbox in the design and set even the
focus by loading but i see no cursor.
I see the cursor only when i click in the textbox.
Why and what to do for to see immediately the cursor in the textbox ? 12 1103
Hi Andreas
With a window forms textbox you can do
textbox1.focus = true
as last event in your form load
I hope this helps?
Cor
Hi Andreas
With a window forms textbox you can do
textbox1.focus = true
as last event in your form load
I hope this helps?
Cor
Hi,
Thanks for your response but :
As I mentioned, i already put this statement in the load sub (
textbox1.text.focus for basic.net) without result
"Cor Ligthert" <no**********@planet.nl> schreef in bericht
news:u4**************@TK2MSFTNGP10.phx.gbl... Hi Andreas With a window forms textbox you can do textbox1.focus = true as last event in your form load
I hope this helps?
Cor
Hi,
Thanks for your response but :
As I mentioned, i already put this statement in the load sub (
textbox1.text.focus for basic.net) without result
"Cor Ligthert" <no**********@planet.nl> schreef in bericht
news:u4**************@TK2MSFTNGP10.phx.gbl... Hi Andreas With a window forms textbox you can do textbox1.focus = true as last event in your form load
I hope this helps?
Cor
Hi Andreas,
Private Sub Form1_Activated _
(ByVal sender As Object, ByVal e As System.EventArgs) _
Handles MyBase.Activated
Me.TextBox1.Focus()
End Sub
Can you try this, I assume this works?
Cor
Hi Andreas,
Private Sub Form1_Activated _
(ByVal sender As Object, ByVal e As System.EventArgs) _
Handles MyBase.Activated
Me.TextBox1.Focus()
End Sub
Can you try this, I assume this works?
Cor
Hi Cor,
I tried your solution but no cursor.
It's a mystery ( for me).
Must be a cursor in the form by loading and so yes where is he ?
Who helps ?
"Cor Ligthert" <no**********@planet.nl> schreef in bericht
news:eK**************@TK2MSFTNGP10.phx.gbl... Hi Andreas,
Private Sub Form1_Activated _ (ByVal sender As Object, ByVal e As System.EventArgs) _ Handles MyBase.Activated Me.TextBox1.Focus() End Sub
Can you try this, I assume this works?
Cor
Hi Cor,
I tried your solution but no cursor.
It's a mystery ( for me).
Must be a cursor in the form by loading and so yes where is he ?
Who helps ?
"Cor Ligthert" <no**********@planet.nl> schreef in bericht
news:eK**************@TK2MSFTNGP10.phx.gbl... Hi Andreas,
Private Sub Form1_Activated _ (ByVal sender As Object, ByVal e As System.EventArgs) _ Handles MyBase.Activated Me.TextBox1.Focus() End Sub
Can you try this, I assume this works?
Cor
I have designed a new form with the same properties and there is no problem.
Maybe the form was corrupted in some way.
I found that de position of the cursor ( cursor.postion) was always changing
but cursor itself was not visble.
Thanks any way Cor.
"andreas" <an*****@pandora.be> schreef in bericht
news:c8*********************@phobos.telenet-ops.be... Hi Cor, I tried your solution but no cursor. It's a mystery ( for me). Must be a cursor in the form by loading and so yes where is he ? Who helps ?
"Cor Ligthert" <no**********@planet.nl> schreef in bericht news:eK**************@TK2MSFTNGP10.phx.gbl... Hi Andreas,
Private Sub Form1_Activated _ (ByVal sender As Object, ByVal e As System.EventArgs) _ Handles MyBase.Activated Me.TextBox1.Focus() End Sub
Can you try this, I assume this works?
Cor
I have designed a new form with the same properties and there is no problem.
Maybe the form was corrupted in some way.
I found that de position of the cursor ( cursor.postion) was always changing
but cursor itself was not visble.
Thanks any way Cor.
"andreas" <an*****@pandora.be> schreef in bericht
news:c8*********************@phobos.telenet-ops.be... Hi Cor, I tried your solution but no cursor. It's a mystery ( for me). Must be a cursor in the form by loading and so yes where is he ? Who helps ?
"Cor Ligthert" <no**********@planet.nl> schreef in bericht news:eK**************@TK2MSFTNGP10.phx.gbl... Hi Andreas,
Private Sub Form1_Activated _ (ByVal sender As Object, ByVal e As System.EventArgs) _ Handles MyBase.Activated Me.TextBox1.Focus() End Sub
Can you try this, I assume this works?
Cor
Hi Andreas,
I tested it this time, I assume you mean the cursor from the textbox and not
the mouse cursor?
Cor
Hi Andreas,
I tested it this time, I assume you mean the cursor from the textbox and not
the mouse cursor?
Cor This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: James Spibey |
last post by:
Hi,
I have an MDI application which has aboout 10 child windows. The way
the app needs to work is that only one window should be visible at a
time and it should be maximized within the parent...
|
by: Colin McGuire |
last post by:
Hi - this was posted last weekend and unfortunately not resolved. The
solutions that were posted almost worked but after another 5 days of
working on the code everynight, I am not further ahead....
|
by: QT |
last post by:
Dear Sirs,
I made a MDI Parent form and two MDI child form. I can open MDI child form
from MDI parent form with;
Dim UserChangePassword_Form As New UserChangePassword
'Set the Parent Form of...
|
by: andreas |
last post by:
Hi,
A button in a child form creates another form with a textbox showing with
show.
I set the taborder on first on this textbox in the design and set even the
focus by loading but i see no...
|
by: Charles Law |
last post by:
For some reason, when I click the X to close my MDI parent form, the action
appears to be re-directed to one of the MDI child forms, and the parent
remains open. I am then unable to close the...
|
by: Bruin |
last post by:
Hi All,
I'm having a problem with MDI child forms when the
reference to the MDI Parent is set in a Control library.
(Sorry for
the long post)
I have an control library assembly which holds all...
|
by: Smokey Grindel |
last post by:
What is the best way to do this? I want to have a child form in an MDI
window that can only ever have one instance of open... if one is already
opened I want to use that form and not make...
|
by: =?Utf-8?B?QVRU?= |
last post by:
Hi,
My MDI (Parentform) form can have 2 two type of forms (Datagridform and
graphicform). When users create a new form, they have to pick either child
form. When those child forms are created...
|
by: =?Utf-8?B?U2FuZHk=?= |
last post by:
Hi everyone
Some help pls.
1. MDI Parent Form
Have a variable Public TestVariable As String = "AAA"
In the Load procedure TestVariable = "BBB"
2. MDI Child Form
|
by: DolphinDB |
last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation.
Take...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
| |