Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 4020

Loop through WebControls by TabIndex

$
0
0

Hi,

I understand For Each ctl As WebUIControl In Controls iterates through all controls in a container, but I want to process them in a specific order,

I’ve managed to build an array of webcontrol.controlIDs sorted by tab order…

var CtlID(999) as String
var i as Integer = 0
For Each ctl As WebUIControl In Controls
  CtlID(ctl.TabIndex) = ctl.ControlID
  i = max(i,ctl.TabIndex)
Next

How can I loop through the array processing each control in the taborder?

6 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 4020

Trending Articles