Autor Beitrag
Primusio
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 51



BeitragVerfasst: So 01.02.04 15:41 
Hallöchen Community,
habe mal wieder ein kleines Problemchen und zwar möchte ich in einem DBGrid mir Datensätze aus meiner Tabelle anzeigen lassen, was ja auch funzt.

Nur möchte ich wenn ich eine Zeile anklicke, nicht in das Feld zum bearbeiten gelangen. Also er soll wirklich nur die Zeile markieren, egal wie oft ich mit der Maus darauf klicke.

Denn später möchte ich, dass jemand einen Doppelklick darauf mach und sich dann eine Internetseite öffnet, ist ja kein großes Problem.

Es geht mir nu um diesen Edit Modus von DBGrid.

Kann mir bitte jemand helfen ?

MfG
Primusio
Primusio Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 51



BeitragVerfasst: So 01.02.04 15:44 
Und kann mir noch jemand dazu sagen, wie ich es anstellen kann, dass immer die gesamte Zeile markierte ist und nicht nur das Feld ?

MfG
Primusio
tomtom62
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 278

WIN 2000, XP prof
D5 prof.
BeitragVerfasst: So 01.02.04 17:36 
Was wenn Du das Grid auf Readonly setzt ?
hwb
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 91

Win98 SE, Win2000
D5 Prof
BeitragVerfasst: So 01.02.04 18:24 
Im Objektinspektor beim Grid unter
Options - dgRowSelect := true einstellen.

Gruß
Gerhard