Home > Software engineering >  VB6.0 by use tdbgrid usage control
VB6.0 by use tdbgrid usage control

Time:09-30


Like figure above, why can't I add a checkbox to choose, no matter how much I click can check and uncheck the

CodePudding user response:

Is this for read-only mode, double-click the right code, name of the unit can edit?

CodePudding user response:

reference 1st floor Tiger_Zhao response:
is the read-only mode, double-click the right code, name of the unit can edit?

Can't,

CodePudding user response:

GrdMaster. Enabled=True
GrdMaster. AllowUpdate=True


GrdMaster. Columns (0). The Locked=False
GrdMaster. Columns (0). RefreshCell

GrdMaster. Columns (1). Locked=True
GrdMaster. Columns (1). Locked=False
GrdMaster. The Columns (2). Locked=False

These useful code, but still can't edit?

CodePudding user response:

That is read-only, example of how to set it to editable,

CodePudding user response:

reference 4 floor Tiger_Zhao response:
that is read-only, check example, how to set it to editable

How to set up

CodePudding user response:

 grdMaster. EditorStyle. Locked=False 
GrdMaster. Splits (1). Locked=False
GrdMaster. Splits (1). EditorStyle. Locked=False

Best control disposable design is good, otherwise it is missing which set,

CodePudding user response:

VB6 IDE, click controls, choose properties, into the control property page,
Modify the relevant Settings,

CodePudding user response:

refer to 7th floor zhao4zhong1 response:
VB6 IDE, click controls, select properties, into the control property page,
Modify the relevant Settings,

Many properties, modification that a ah

CodePudding user response:

refer to 6th floor Tiger_Zhao response:
 grdMaster. EditorStyle. Locked=False 
GrdMaster. Splits (1). Locked=False
GrdMaster. Splits (1). EditorStyle. Locked=False

Best control disposable design is good, otherwise it is missing which set,


Or I can't

CodePudding user response:

Remove old controls, in design, again a
Not deliberately set Locked attribute!

CodePudding user response:

The
references to the tenth floor Tiger_Zhao response:
delete old controls, in design, again a
Not deliberately set Locked attribute!

I tried many way, also tried a new control, or not, I was long

CodePudding user response:

Your data can be modified?
If it is direct with you, write code changes,
If use ADODC controls, it is binding a text box to modify,

CodePudding user response:

See if the control lock

CodePudding user response:

Have locking properties right, see if the control lock
  • Related