Can anybody explain what is the difference between Define and Redefine of controls. In which situation I should use Define and in which situation I should use Redefine.
Sorry, I am very much new to Harbour.
Regards
Amser
Can anybody explain what is the difference between Define and Redefine of controls. In which situation I should use Define and in which situation I should use Redefine.
Sorry, I am very much new to Harbour.
Regards
Amser
The difference is between the following two syntax forms:
@ row, col ...
REDEFINE ...
The former uses direct coordinates while the latter uses resource files (RC or RES).
EMG
Amser,
Besides Enrico's explanation, let me add that you use:
@ ..., ... BUTTON ...
when you create a dialogbox from source code, without using resources.
You have to use:
REDEFINE BUTTON ...
when you are creating the dialogbox from a resources defined dialogbox.
BUTTON is just an example. The same applies to other types of controls.
James Bott wrote:Amser,
Have you read the Introduction to Fivewin articles on my website? These may help.
http://ourworld.compuserve.com/homepages/jbott/program.htm
Regards,
James