Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Selected Row on DataWindow

Status
Not open for further replies.

Rottdpogs

IS-IT--Management
Jul 17, 2001
86
CN
Please Advice. How can i highlight the row on the selected record?
My syntax:
This.selectedrow(0,false)
This.selectedrow(This.Getrow(),true)

This works, but when i clicked the shift or ctrl key together with the mouse click im encountering a black highlight color, how can i prevent that?

Please Advice Coz Im new in PB Thanks in advance.
Using PB 6.5
 
Try this in the clicked event of the datawindow

IF (row <= 0) THEN
IF (string(dwo.name) <> 'datawindow') THEN
RETURN 1
END IF
END IF
 
In the DW Painter, UN-check the following properties for each column whose TabSequence > 0:

Column Moving
Mouse Selection


Now when the column is selected the background color will not turn black.


Olan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top