I am needing "beginner-level" help.
Admittedly the following is long-winded, but maybe if I give enough background info, it can help you assist me better.
I want to change the grid Column1 background color for the selected row ONLY when a value in one of the other columns is changed.
I have added a Valid method to the Text1 box for each changable column (Col 2, 3, 4, etc.) in the grid.
In these Valid methods I successfully check to see if the value is changed. If changed - I want to change the Col #1 background color. If not changed - return the background color to White.
I have read previous postings and I have also read
FAQ184-624 How can I color code cells in a grid?
But I still cannot get things to work.
Background:
* I use a PRG file to launch the application.
Within the PRG I isssue
DO FORM masschng
* Within the form I call my Valid methods by
RETURN ChkChng()
* The ChkChng function is in the PRG file.
* The parent of the specific Grid Text boxes are like:
frsMassChng.gcBrwsWind.PageFrame1.Page1.grdInventory.Column2
But when I reference that from Valid function in the PRG file, it tells me that it does not recognize one or more of the elements (such as frsMassChng or gcBrwsWind, etc.).
And when I attempt to put it directly into the FORM's Valid method, it blows up.
Your assistance would be greatly appreciated.
Thanks,
I_Forgot
Admittedly the following is long-winded, but maybe if I give enough background info, it can help you assist me better.
I want to change the grid Column1 background color for the selected row ONLY when a value in one of the other columns is changed.
I have added a Valid method to the Text1 box for each changable column (Col 2, 3, 4, etc.) in the grid.
In these Valid methods I successfully check to see if the value is changed. If changed - I want to change the Col #1 background color. If not changed - return the background color to White.
I have read previous postings and I have also read
FAQ184-624 How can I color code cells in a grid?
But I still cannot get things to work.
Background:
* I use a PRG file to launch the application.
Within the PRG I isssue
DO FORM masschng
* Within the form I call my Valid methods by
RETURN ChkChng()
* The ChkChng function is in the PRG file.
* The parent of the specific Grid Text boxes are like:
frsMassChng.gcBrwsWind.PageFrame1.Page1.grdInventory.Column2
But when I reference that from Valid function in the PRG file, it tells me that it does not recognize one or more of the elements (such as frsMassChng or gcBrwsWind, etc.).
And when I attempt to put it directly into the FORM's Valid method, it blows up.
Your assistance would be greatly appreciated.
Thanks,
I_Forgot