Tuesday, May 22nd 2012, 1:41am UTC+2

You are not logged in.

  • Login
  • Register

giucleand

Beginner

Posts: 11

Location: Romania

Occupation: sysadmin

1

Tuesday, November 15th 2011, 10:09am

Always on top

I couldn't find how to keep a window on top of the others, so I'm asking you how can this be done. Thanks a lot!

Dani

Trainee

Posts: 68

Location: GERMANY

2

Tuesday, November 15th 2011, 11:01am

Hey there giucleand,

it really depends on what you are trying to do!
Try the following samples

Jabaco Source

1
2
3
4
5
6
7
8
9
10
11
12
Dim Dialog2 As New Dialog1

Public Sub Command1_Click()
   'Dialog2.Parent.setAlwaysOnTop(True)
   Dialog2.Parent.setVisible(True)
   'Dialog2.Parent.setModal(True)
   'Dialog2.Show(1)
End Sub

Public Sub Command2_Click()
   Dialog2.Parent.toFront()   
End Sub


Hope it helps,


Dani

giucleand

Beginner

Posts: 11

Location: Romania

Occupation: sysadmin

3

Tuesday, November 15th 2011, 4:08pm

Yes, it worked. Much obliged !

Rate this thread
WoltLab Burning Board