Subject Re: [IBO] TIB_SessionProp and setting colors
Author Helen Borrie (TeamIBO)
At 01:38 PM 17-02-02 -0600, Steve Fields wrote:
>Hi All,
> I have a small form that allows the users to change the basic colors
>in TIB_SessionProp. They also change the colors in TIB_Grid(s). It
>passes parameters for the grid colors but works with a passed value
>of the SessProp:
> MyProc(Prop : TIB_SessionProp;var OrderColor, CurrentColor : TColor);
>
> Is there any way to set the colors on the fly (by user settings) and
>have them show immediate change when returning. Now when there
>is a change and a return to the form nothing changes until I close the
>program and restart it(?). (The grid I can change by refreshing the records)

Have a look at the OnDrawCell and OnDrawFocusedCell events of TIB_CustomGrid.

regards,
Helen Borrie (TeamIBO Support)

** Please don't email your support questions privately **
Ask on the list and everyone benefits
Don't forget the IB Objects online FAQ - link from any page at www.ibobjects.com