Hello
Trying to access those two properties i try a variety of methods to change
those properties values but nothing happens . I know IDE creates a component
for those control (i.e oStatusBar1Panel1)
1st methode
::oStatusBar1Panel1:cText:= " Something"
::oStatusBar1Panel1:nImage = 2
::oStatusBar1Panel1:Update()
and nothing is changed
2nd methode
WITH OBJECT ::oStatusBar1Panel1
:cText:="Something"
:nImage:=2
:Update()
END WITH
and here also nothing is changed
Any help would be appreciate
Regards
Dionisis
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Which is the corect way to access Tpanel:cText and Tpanel:nImage Properties
- Dionisis Divaris
- Mensajes: 484
- Registrado: Jue Jul 12, 2007 8:48 pm
- Ubicación: Athens Greece
Which is the corect way to access Tpanel:cText and Tpanel:nImage Properties
Dionisis,
WITH OBJECT ::oStatusBar1:aItems[1]
:cText := "Panel 1"
...
END
--
Regards,
Jose F. Gimenez
WITH OBJECT ::oStatusBar1:aItems[1]
:cText := "Panel 1"
...
END
--
Regards,
Jose F. Gimenez
Which is the corect way to access Tpanel:cText and Tpanel:nImage Properties
Dionisis,
WITH OBJECT ::oStatusBar1:aItems[1]
:cText := "Panel 1"
...
END
--
Regards,
Jose F. Gimenez
WITH OBJECT ::oStatusBar1:aItems[1]
:cText := "Panel 1"
...
END
--
Regards,
Jose F. Gimenez
- Dionisis Divaris
- Mensajes: 484
- Registrado: Jue Jul 12, 2007 8:48 pm
- Ubicación: Athens Greece
Which is the corect way to access Tpanel:cText and Tpanel:nImage Properties
Ï "Jose F. Gimenez" <jfgimenez@wanadoo.es> Ýãñáøå óôï ìÞíõìá
news:[email=441d2e02@ozsrvnegro.ozlan.local...]441d2e02@ozsrvnegro.ozlan.local...[/email]
> Dionisis,
>
> WITH OBJECT ::oStatusBar1:aItems[1]
> :cText := "Panel 1"
> ...
> END
>
> --
> Regards,
>
> Jose F. Gimenez
Jose
Works Perfect !!!!
I think that this maner applies to all objects within others ? Am i right ?
(i.e aItems array holds all others included in the control objects)
Many thanks for your valuable and quick responding help!!!!!!!!!
Sincelery yours
Dionisis
news:[email=441d2e02@ozsrvnegro.ozlan.local...]441d2e02@ozsrvnegro.ozlan.local...[/email]
> Dionisis,
>
> WITH OBJECT ::oStatusBar1:aItems[1]
> :cText := "Panel 1"
> ...
> END
>
> --
> Regards,
>
> Jose F. Gimenez
Jose
Works Perfect !!!!
I think that this maner applies to all objects within others ? Am i right ?
(i.e aItems array holds all others included in the control objects)
Many thanks for your valuable and quick responding help!!!!!!!!!
Sincelery yours
Dionisis
- Dionisis Divaris
- Mensajes: 484
- Registrado: Jue Jul 12, 2007 8:48 pm
- Ubicación: Athens Greece
Which is the corect way to access Tpanel:cText and Tpanel:nImage Properties
Ï "Jose F. Gimenez" <jfgimenez@wanadoo.es> Ýãñáøå óôï ìÞíõìá
news:[email=441d2e02@ozsrvnegro.ozlan.local...]441d2e02@ozsrvnegro.ozlan.local...[/email]
> Dionisis,
>
> WITH OBJECT ::oStatusBar1:aItems[1]
> :cText := "Panel 1"
> ...
> END
>
> --
> Regards,
>
> Jose F. Gimenez
Jose
Works Perfect !!!!
I think that this maner applies to all objects within others ? Am i right ?
(i.e aItems array holds all others included in the control objects)
Many thanks for your valuable and quick responding help!!!!!!!!!
Sincelery yours
Dionisis
news:[email=441d2e02@ozsrvnegro.ozlan.local...]441d2e02@ozsrvnegro.ozlan.local...[/email]
> Dionisis,
>
> WITH OBJECT ::oStatusBar1:aItems[1]
> :cText := "Panel 1"
> ...
> END
>
> --
> Regards,
>
> Jose F. Gimenez
Jose
Works Perfect !!!!
I think that this maner applies to all objects within others ? Am i right ?
(i.e aItems array holds all others included in the control objects)
Many thanks for your valuable and quick responding help!!!!!!!!!
Sincelery yours
Dionisis
Which is the corect way to access Tpanel:cText and Tpanel:nImage Properties
Dionisis,
> I think that this maner applies to all objects within others ? Am i right
> ? (i.e aItems array holds all others included in the control objects)
Not exactly. This is the way to access the items of the components which has
a property called 'aItems' (TStatusbar, TTabCtrl, TFolder, TPages, etc.).
Those 'items' are part of (belong to) the control, but not necessary
components by themself, and could be not declared in the form's class.
ITOH, when a control is a 'container', has a public (not published) property
called aControls, that holds the controls placed on it. However, every
control or component in a form is declared directly in the form's class, and
has its own name (i.e. ::oLabel1, ::oEdit1, etc.)
--
Regards,
Jose F. Gimenez
> I think that this maner applies to all objects within others ? Am i right
> ? (i.e aItems array holds all others included in the control objects)
Not exactly. This is the way to access the items of the components which has
a property called 'aItems' (TStatusbar, TTabCtrl, TFolder, TPages, etc.).
Those 'items' are part of (belong to) the control, but not necessary
components by themself, and could be not declared in the form's class.
ITOH, when a control is a 'container', has a public (not published) property
called aControls, that holds the controls placed on it. However, every
control or component in a form is declared directly in the form's class, and
has its own name (i.e. ::oLabel1, ::oEdit1, etc.)
--
Regards,
Jose F. Gimenez
Which is the corect way to access Tpanel:cText and Tpanel:nImage Properties
Dionisis,
> I think that this maner applies to all objects within others ? Am i right
> ? (i.e aItems array holds all others included in the control objects)
Not exactly. This is the way to access the items of the components which has
a property called 'aItems' (TStatusbar, TTabCtrl, TFolder, TPages, etc.).
Those 'items' are part of (belong to) the control, but not necessary
components by themself, and could be not declared in the form's class.
ITOH, when a control is a 'container', has a public (not published) property
called aControls, that holds the controls placed on it. However, every
control or component in a form is declared directly in the form's class, and
has its own name (i.e. ::oLabel1, ::oEdit1, etc.)
--
Regards,
Jose F. Gimenez
> I think that this maner applies to all objects within others ? Am i right
> ? (i.e aItems array holds all others included in the control objects)
Not exactly. This is the way to access the items of the components which has
a property called 'aItems' (TStatusbar, TTabCtrl, TFolder, TPages, etc.).
Those 'items' are part of (belong to) the control, but not necessary
components by themself, and could be not declared in the form's class.
ITOH, when a control is a 'container', has a public (not published) property
called aControls, that holds the controls placed on it. However, every
control or component in a form is declared directly in the form's class, and
has its own name (i.e. ::oLabel1, ::oEdit1, etc.)
--
Regards,
Jose F. Gimenez