Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Wants to write generalised function for windows object

2 views
Skip to first unread message

Pash

unread,
Nov 5, 2010, 5:09:13 AM11/5/10
to
I am using powerbuilder 9 .0.1 Build 7171 i want to write a
generalised
function to handle object properties like font name. I want to change
font
of the object buttons, list box idea is i will just pass on
window name or window handle and fuction will get the control list and
if
control.type is listbox or button or picture button it will change its
font.

i dont want to write windows function for every window is there any
way where i can just manupulate properties of windows

FOR n = 1 to UpperBound(Control[])
IF Control[n].TypeOf() = CommandButton! OR Control[n].TypeOf() =
PictureButton!THEN
set_button_name(this.Control[n])
End if
NEXT

in this i case i have to hardcode this code in open event of every
window
to call this by using function()

bruce.a...@yahoo.com

unread,
Nov 14, 2010, 1:21:12 AM11/14/10
to
This group has been marked read only on the Sybase server, your post
will never make it there. In addition, the feed between Google and
the Sybase server is not currently working. If you post through
Google, the post will never show up on the Sybase server, and most
people who answer questions in that group will never see it.

Instead, you may want to access the Sybase newsgroups directly at
http://www.sybase.com/support/community-forums

0 new messages