Popup Row Colors (OpenInsight 32-bit)
At 05 DEC 2011 10:50:08PM Chris Meyer wrote:
Is it possible to set the color for individual rows in a popup rather than odd/even row colors.
TIA
Chris
At 06 DEC 2011 06:35AM Stefano Cavaglieri wrote:
You can use the COLOR_BY_POS message. If you set, for instance:
column = 0
text = Send_Message(controlID, "COLOR_BY_POS", column, row, color_array)
You will set the color for the entire row you want.
Hope it helps,
Stefano
At 06 DEC 2011 01:41PM Barry Stevens wrote:
With the controlID for a popup being?
At 07 DEC 2011 03:07AM Stefano Cavaglieri wrote:
Oops, sorry, I answered too quickly. By mistake I assumed you were asking for changing colors in an edit table, not in a popup. The controlID of the edit table used in a popup is something like "POPUP.ET_POPUP", but I don't know how to get to it since popups are modal…
Best,
Stefano
At 07 DEC 2011 09:52AM Sean FitzSimons wrote:
Chris,
The only colorization of the popup is on the Odd/Even rows. Stefano is correct in that you cannot change colors on specific rows using COLOR_BY_POS due to the modality of the popup.
Sean FitzSimons
Revelation Software
At 14 DEC 2011 11:40AM Andrew McAuley wrote:
For details of how to change the colour of individual rows in a popup check out our latest blog posting here. Consider it a seasonal gift from us to you ;).
World leaders in all things RevSoft
At 14 DEC 2011 03:50PM Barry Stevens wrote:
Cool, thanks Santa.
At 15 DEC 2011 08:02AM Chris Meyer wrote:
Thanks for the tips and have a merry Christmas.
Regards
Chris