Re: Feasibility of Dynamically-Generated Textboxes

Tech-Archive recommends: Fix windows errors by optimizing your registry



> If you think the textbox idea would work please offer suggestions.

I'm not quite sure exactly what you are asking, but when I have to present a
list of multiple items to be edited and I don't know how many there will be,
I just use a string builder and write them out within loop:

count = #items

while count > 0
sb.append("<input type='text' id='textbox_" & count & "'>")
end while

-Darrel


.



Relevant Pages

  • dynamic controlname txttest+i.text
    ... I want to change the text of a textbox with a loop like this: ... But wat is the correct syntax for this?? ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Run Time Controls
    ... Are you setting the location for each textbox. ... You will need to call 'new TextBox' in side you loop. ... Gomathi wrote: ... Prev by Date: ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • loop through textbox in Excel
    ... In my Excel 2003, I have around 30 textbox, which is created by using ... I wonder how can I loop them through my VB editor within excel. ... Prev by Date: ...
    (microsoft.public.excel.programming)
  • RE: for loop is used to assign values to textboxed?
    ... If I declare score as TextBox, how can I assign it txtQ1.Text, txtQ2.Text, ... "david" wrote: ... Can I use a variable and FOR loop to assign values to those boxes like what ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: looping texboxes - possible or impossible?
    ... ActiveX Textboxes are not part of a textbox collection, so no, that is ... A common workaround is to loop all controls and it this one ... Private Sub CommandButton1_Click ...
    (microsoft.public.excel.programming)