You are not logged in.

OlimilO

Intermediate

  • "OlimilO" is male
  • "OlimilO" started this thread

Posts: 277

Date of registration: Jan 18th 2009

Location: Germany

Occupation: software engineer

  • Send private message

1

Sunday, January 18th 2009, 10:39pm

Control.ZOrder

Hi,

what else I miss is the Zorder-Property of Controls.

is there another possibility to BringToFront/SendToBack a Control?

in VB6 the Syntyx is:

Panel1.ZOrder([Position])

where Position is an optional (unsigned) Integer

(actually in VB6 there is no unsigned datatype, but here it is not possible to give negative values)

in VB6 it works this way:

Jabaco Source

1
2
3
4
5
6
7
8
'expecting you have two panels (PictureBoxes)
'and two Buttons
Private Sub Command1_Click()
    Panel1.ZOrder
End Sub
Private Sub Command2_Click()
    Panel2.ZOrder
End Sub


what is to do, to implement this behaviour in Jabaco?

Greetings

+Oliver

Manuel

Administrator

  • "Manuel" is male

Posts: 256

Date of registration: Jul 16th 2008

Location: Erlangen, Germany

Occupation: Software Developer

Hobbies: Jabaco, game theory, text-mining

  • Send private message

2

Sunday, January 18th 2009, 10:50pm

Quoted

what is to do, to implement this behaviour in Jabaco?
Jabaco supports Java 1.4.2 - This features is implemented since Java 1.5. You can use that with this limitation. Sample for you:

Jabaco Source

1
2
Form1.ContentFrame.Parent.setComponentZOrder Picture1, 0
Form1.Refresh

OlimilO

Intermediate

  • "OlimilO" is male
  • "OlimilO" started this thread

Posts: 277

Date of registration: Jan 18th 2009

Location: Germany

Occupation: software engineer

  • Send private message

3

Sunday, January 18th 2009, 11:04pm

thanks

Ah OK,

guter Tipp vielen Dank

OlimilO

Intermediate

  • "OlimilO" is male
  • "OlimilO" started this thread

Posts: 277

Date of registration: Jan 18th 2009

Location: Germany

Occupation: software engineer

  • Send private message

4

Sunday, January 18th 2009, 11:43pm

problems with Zorder

Quoted


Jabaco supports Java 1.4.2 - This features is implemented since Java 1.5. You can use that with this limitation. Sample for you:

Jabaco Source

1
Form1.ContentFrame.Parent.setComponentZOrder Picture1, 0 Form1.Refresh






uh it has problems during Form_Load, the form does not come up, it will not be shown, it is not visible.

greetings

+Oliver

Manuel

Administrator

  • "Manuel" is male

Posts: 256

Date of registration: Jul 16th 2008

Location: Erlangen, Germany

Occupation: Software Developer

Hobbies: Jabaco, game theory, text-mining

  • Send private message

5

Monday, January 19th 2009, 12:00am

You should use "Me" in this case:

Quoted

Me.ContentFrame.Parent.setComponentZOrder Picture1, 0
Me.Refresh

Rate this thread
WoltLab Burning Board