Re: Creating new textbox at run time



"Douglas J Steele" <NOSPAM_djsteele@xxxxxxxxxxxxxxxxx> wrote in message
news:eDSBkh$2FHA.1476@xxxxxxxxxxxxxxxxxxxxxxx
> Do you really need to add a new textbox, or can you have a hidden one that
> you make visible when you need it?

Definitely yes. But I'll eventually need many of them, i.e. I antiticapte
that one image may have more than 100 bookmarks on it, others just 1 or 2.
And I want to be able to create or set to nothing such instances almost at
whim. I'll freely admit it's a resource and memory management problem, but
creating many instances in an organized fashion is possible. Say something
like " Dim aaa(100,10) As TextBox". But right now, I can't instantaneorize
(if that's a word) just one.

> If you really do need one, take a look at the CreateControl method.

Didn't know about that method. Looks like I have some reading to do.

Thanks


.



Relevant Pages

  • =?Utf-8?Q?RE:_unbekannte_Textbox_l=C3=B6schen?=
    ... welche davon in der betreffenden Zeile in Spalte B liegt. ... wird aber nur diejenige TextBox, deren Adresse mit der der aktiven Zeile ... Dim tbElement As TextBox ... Dim txtBox As Shape, TXTBoxName ...
    (microsoft.public.de.excel)
  • Re: How to get specific data from .txt file in VB6?
    ... Index of the TextBox corresponding to the Software ... how to make use of the control array to do what you originally asked... ... Dim FF As Long ... Dim TotalFile As String ...
    (microsoft.public.vb.general.discussion)
  • Re: selectedvalue postback problem
    ... have to recreate the dropdown list first, and they it'll take care of ... ByVal sender As Object, _ ... Dim row As DataRow = CType ... Dim textBox As TextBox = .FindControl ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: selectedvalue postback problem
    ... have to recreate the dropdown list first, and they it'll take care of ... ByVal sender As Object, _ ... Dim row As DataRow = CType ... Dim textBox As TextBox = .FindControl ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: FindFirst not finding first login/password attempt
    ... The Undo statement further makes me suspicious. ... property of the textbox. ... Dim rst As DAO.Recordset ... Dim stDocName As String ...
    (microsoft.public.access.formscoding)