You are not logged in.

giucleand

Beginner

  • "giucleand" is male
  • "giucleand" started this thread

Posts: 11

Date of registration: Oct 27th 2009

Location: Romania

Occupation: sysadmin

  • Send private message

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

Intermediate

Posts: 325

Date of registration: Nov 19th 2009

Location: GERMANY

  • Send private message

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

  • "giucleand" is male
  • "giucleand" started this thread

Posts: 11

Date of registration: Oct 27th 2009

Location: Romania

Occupation: sysadmin

  • Send private message

3

Tuesday, November 15th 2011, 4:08pm

Yes, it worked. Much obliged !

Rate this thread
WoltLab Burning Board