I found the problem.!

I am defining a form.
Then a frame within the form
Then a lable within the frame.

This is does not like.!

Using...
code:
$frmMain = CreateObject("Kixtart.Form")
$frmMain.Size = 300, 373
$frmMain.SysMenu = 0
$frmMain.Text = "Welcome to the @DOMAIN Domain"
$frmMain.Center

$fraStatus = $frmMain.Frame
$fraStatus.Size = 280, 115
$fraStatus.Center
$fraStatus.Top = 225
$fraStatus.Text = " Progress "

$prgStatus = $fraStatus.ProgressBar
$prgStatus.Size = 260, 17
$prgStatus.Center
$prgStatus.Style = 1
$prgStatus.Top = 40

the .visible does not work. But if I define the $prgStatus = $fraStatus.ProgressBar as an object of the form rather than the frame $prgStatus = $frmMain.ProgressBar then the .visible bit works.

Is that a bug, or just quirky.?? [Confused]

W
_________________________
Wizard
There's no place like 127.0.0.1

vb | kix | batch | html | cfm | js | english