3) Is it possible to show the bitmap in a column ONLY when the cell is editable ? In my sample, the field is only editable when i add a new row and field->codprd is empty.
i modified the Method PaintCell() of the class this way: original code ...
2) Is it posible to trigger the :bEditBlock when F2 is pressed and only when the cell is editable ?
if nEditType is EDIT_GET_BUTTON, then when F2 is pressed, the Get is invoked. if nEditType is EDIT_BUTTON, then when F2 is pressed the ButtonAction is invoked. For your requirement use EDIT_BUTTON ...
1) when the F2 key is pressed the cell is edited even if :bEditWhen is FALSE
Please modify this like this: case nKey == VK_F2 .and. ::lF2KeyToEdit .and. ! ::lReadOnly if ! ::lEditMode WITH OBJECT ::SelectedCol() if :lEditable //! :lReadOnly :Edit() endif END endif
Buenos días:
Aunque ya dí los primeros pasos con MySql y mod_harbour, hay algunos puntos del temario que me parecen interesantes, por lo que también estaría interesado en participar.
Ya sea virtual o presencial.