1. WIN32LIB Additions/Changes Please
- Posted by Tony Steward <tsteward at dodo.com.au> May 31, 2003
- 400 views
Hello Derek, Please add the following to "setWindowBackColor" so as to allow setting colour for multiple items Thanks Tony Steward --Begin cut global procedure setWindowBackColor( object id, object rgbColor ) -- set the background color of a window or control -- use rgb() to calculate a color atom lNewBrush, lOldBrush, dc, old -- Begin ~Tony Steward~ if sequence(id) then for i = 1 to length(id) do setWindowBackColor(id[i], rgbColor) end for return end if -- End ~Tony Steward~
2. Re: WIN32LIB Additions/Changes Please
- Posted by Derek Parnell <ddparnell at bigpond.com> May 31, 2003
- 396 views
----- Original Message ----- From: "Tony Steward" <tsteward at dodo.com.au> To: "EUforum" <EUforum at topica.com> Subject: WIN32LIB Additions/Changes Please > > > Hello Derek, > Please add the following to "setWindowBackColor" so as to allow setting > colour for multiple items > > Thanks > Tony Steward > > --Begin cut > global procedure setWindowBackColor( object id, object rgbColor ) > > -- set the background color of a window or control > -- use rgb() to calculate a color > > atom lNewBrush, lOldBrush, dc, old > > -- Begin ~Tony Steward~ > if sequence(id) then > for i = 1 to length(id) do > setWindowBackColor(id[i], rgbColor) > end for > return > end if > -- End ~Tony Steward~ > The current Win32lib already supports this. -- Derek