Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-07

TStringGrid Problem

5 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Jesus Reyes
to Jesus Reyes: --- Yoyong Hernan escribi�: > Hi Jesus, Hi, here is a patch to fix this problem.…

I think Mattias applied the patch

Jesus Reyes

Earlier message 87 lines
----- Original Message ----- From: Yoyong Hernan To: Sent: Saturday, July 19, 2003 3:38 AM Subject: Re: [lazarus] TStringGrid Problem > Is this available via cvs? > > Thanks in advance. > > > On Thu, 2003-07-17 at 13:50, Jesus Reyes wrote: > > --- Yoyong Hernan escribi�: > Hi Jesus, > > > > > > Sorry for the very late reply. I reinstalled my computer 3 times > > > first > > > Redhat9 not ok, then Redhat 9 not ok.... Til I finally switched to > > > Mandrake. Another thing is hardisk right now are not reliable. I > > > have > > > changed my hardisk every year to many bad sectors. :-( > > > > > > I still find some glitches with TStringGrid, try the following > > > property > > > values. > > > > > > object Stringgrid1: TSTRINGGRID > > > AUTOADVANCE = aadown > > > COLCOUNT = 5 > > > DEFAULTCOLWIDTH = 64 > > > DEFAULTROWHEIGHT = 24 > > > DEFAULTDRAWING = False > > > FIXEDCOLS = 1 > > > ROWCOUNT = 2 > > > FIXEDROWS = 1 > > > GRIDLINEWIDTH = 0 > > > OPTIONS = [gofixedvertline, gofixedhorzline, govertline, > > > gohorzline, gorangeselect, gocolsizing, gorowselect, > > > godblclickautosize] > > > PARENTCTL3D = False > > > SCROLLBARS = ssautoboth > > > TABORDER = 0 > > > VISIBLECOLCOUNT = 4 > > > VISIBLEROWCOUNT = 1 > > > ONBEFORESELECTION = StringgridDataBEFORESELECTION > > > ONSELECTION = StringgridDataSELECTION > > > HORZSCROLLBAR.PAGE = 403 > > > HORZSCROLLBAR.RANGE = 322 > > > VERTSCROLLBAR.PAGE = 215 > > > VERTSCROLLBAR.RANGE = 122 > > > LEFT = 10 > > > HEIGHT = 232 > > > TOP = 33 > > > WIDTH = 420 > > > HELPTYPE = htkeyword > > > end > > > > > > What I wanted to do was to have the TStringGrid select the whole > > > row > > > and when i press arrow down or up keys the hightlight must move up > > > or > > > down. But the result are not what I expected. Using mouse is okay > > > but > > > using the keyboard is not. > > > > > > Regards, > > > > > > Yoyong Hernan > > > > > > > > > Hi, here is a patch to fix this problem. > > > > Regards. > > > > Jesus Reyes A. > > > > > > _________________________________________________________ > > Do You Yahoo!? > > La mejor conexi�n a internet y 25MB extra a tu correo por $100 al mes. http://net.yahoo.com.mx > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Yoyong Hernan

Hi Jesus,

Sorry for the very late reply. I reinstalled my computer 3 times first Redhat9 not ok, then Redhat 9 not ok.... Til I finally switched to Mandrake. Another thing is hardisk right now are not reliable. I have changed my hardisk every year to many bad sectors. :-(

I still find some glitches with TStringGrid, try the following property values.

object Stringgrid1: TSTRINGGRID
AUTOADVANCE = aadown
COLCOUNT = 5
DEFAULTCOLWIDTH = 64
DEFAULTROWHEIGHT = 24
DEFAULTDRAWING = False
FIXEDCOLS = 1
ROWCOUNT = 2
FIXEDROWS = 1
GRIDLINEWIDTH = 0
OPTIONS = [gofixedvertline, gofixedhorzline, govertline, gohorzline, gorangeselect, gocolsizing, gorowselect, godblclickautosize] PARENTCTL3D = False
SCROLLBARS = ssautoboth
TABORDER = 0
VISIBLECOLCOUNT = 4
VISIBLEROWCOUNT = 1
ONBEFORESELECTION = StringgridDataBEFORESELECTION
ONSELECTION = StringgridDataSELECTION
HORZSCROLLBAR.PAGE = 403
HORZSCROLLBAR.RANGE = 322
VERTSCROLLBAR.PAGE = 215
VERTSCROLLBAR.RANGE = 122
LEFT = 10
HEIGHT = 232
TOP = 33
WIDTH = 420
HELPTYPE = htkeyword

  end

What I wanted to do was to have the TStringGrid select the whole row and when i press arrow down or up keys the hightlight must move up or down. But the result are not what I expected. Using mouse is okay but using the keyboard is not.

Regards,

Yoyong Hernan

Reply by email

Yoyong Hernan
to Jesus Reyes: --- Yoyong Hernan escribi�: > Hi Jesus, Hi, here is a patch to fix this problem.…

Is this available via cvs?

Thanks in advance.

Jesus Reyes wrote 68 lines
--- Yoyong Hernan escribi�: > Hi Jesus, > > Sorry for the very late reply. I reinstalled my computer 3 times > first > Redhat9 not ok, then Redhat 9 not ok.... Til I finally switched to > Mandrake. Another thing is hardisk right now are not reliable. I > have > changed my hardisk every year to many bad sectors. :-( > > I still find some glitches with TStringGrid, try the following > property > values. > > object Stringgrid1: TSTRINGGRID > AUTOADVANCE = aadown > COLCOUNT = 5 > DEFAULTCOLWIDTH = 64 > DEFAULTROWHEIGHT = 24 > DEFAULTDRAWING = False > FIXEDCOLS = 1 > ROWCOUNT = 2 > FIXEDROWS = 1 > GRIDLINEWIDTH = 0 > OPTIONS = [gofixedvertline, gofixedhorzline, govertline, > gohorzline, gorangeselect, gocolsizing, gorowselect, > godblclickautosize] > PARENTCTL3D = False > SCROLLBARS = ssautoboth > TABORDER = 0 > VISIBLECOLCOUNT = 4 > VISIBLEROWCOUNT = 1 > ONBEFORESELECTION = StringgridDataBEFORESELECTION > ONSELECTION = StringgridDataSELECTION > HORZSCROLLBAR.PAGE = 403 > HORZSCROLLBAR.RANGE = 322 > VERTSCROLLBAR.PAGE = 215 > VERTSCROLLBAR.RANGE = 122 > LEFT = 10 > HEIGHT = 232 > TOP = 33 > WIDTH = 420 > HELPTYPE = htkeyword > end > > What I wanted to do was to have the TStringGrid select the whole > row > and when i press arrow down or up keys the hightlight must move up > or > down. But the result are not what I expected. Using mouse is okay > but > using the keyboard is not. > > Regards, > > Yoyong Hernan > Hi, here is a patch to fix this problem. Regards. Jesus Reyes A. _________________________________________________________ Do You Yahoo!? La mejor conexi�n a internet y 25MB extra a tu correo por $100 al mes. http://net.yahoo.com.mx

Reply by email

Jesus Reyes
to Yoyong Hernan: Sorry for the very late reply. I reinstalled my computer 3 times first Redhat9 not ok,…

--- Yoyong Hernan escribi�: > Hi Jesus,

Show quoted text 55 lines
Sorry for the very late reply. I reinstalled my computer 3 times first Redhat9 not ok, then Redhat 9 not ok.... Til I finally switched to Mandrake. Another thing is hardisk right now are not reliable. I have changed my hardisk every year to many bad sectors. :-( I still find some glitches with TStringGrid, try the following property values. object Stringgrid1: TSTRINGGRID AUTOADVANCE = aadown COLCOUNT = 5 DEFAULTCOLWIDTH = 64 DEFAULTROWHEIGHT = 24 DEFAULTDRAWING = False FIXEDCOLS = 1 ROWCOUNT = 2 FIXEDROWS = 1 GRIDLINEWIDTH = 0 OPTIONS = [gofixedvertline, gofixedhorzline, govertline, gohorzline, gorangeselect, gocolsizing, gorowselect, godblclickautosize] PARENTCTL3D = False SCROLLBARS = ssautoboth TABORDER = 0 VISIBLECOLCOUNT = 4 VISIBLEROWCOUNT = 1 ONBEFORESELECTION = StringgridDataBEFORESELECTION ONSELECTION = StringgridDataSELECTION HORZSCROLLBAR.PAGE = 403 HORZSCROLLBAR.RANGE = 322 VERTSCROLLBAR.PAGE = 215 VERTSCROLLBAR.RANGE = 122 LEFT = 10 HEIGHT = 232 TOP = 33 WIDTH = 420 HELPTYPE = htkeyword end What I wanted to do was to have the TStringGrid select the whole row and when i press arrow down or up keys the hightlight must move up or down. But the result are not what I expected. Using mouse is okay but using the keyboard is not. Regards, Yoyong Hernan

Hi, here is a patch to fix this problem.

Regards.

Jesus Reyes A.

_________________________________________________________ Do You Yahoo!?
La mejor conexi�n a internet y 25MB extra a tu correo por $100 al mes. http://net.yahoo.com.mx -------------- next part --------------
A non-text attachment was scrubbed...
Name: gz00028.gz
Type: application/octet-stream
Size: 847 bytes
Desc: "grids.diff.gz"
Url : http://localhost/pipermail/lazarus/attachments/20030717/1e56bcfa/gz00028.obj

Reply by email

Yoyong Hernan
to Jesus Reyes

Thanks very much, things are working beautifully now.

Regards,
Yoyong

Earlier message 103 lines
----- Original Message ----- From: "Jesus Reyes" To: Sent: Saturday, July 19, 2003 1:47 PM Subject: RE: [lazarus] TStringGrid Problem I think Mattias applied the patch Jesus Reyes ----- Original Message ----- From: Yoyong Hernan To: Sent: Saturday, July 19, 2003 3:38 AM Subject: Re: [lazarus] TStringGrid Problem > Is this available via cvs? > > Thanks in advance. > > > On Thu, 2003-07-17 at 13:50, Jesus Reyes wrote: > > --- Yoyong Hernan escribi�: > Hi Jesus, > > > > > > Sorry for the very late reply. I reinstalled my computer 3 times > > > first > > > Redhat9 not ok, then Redhat 9 not ok.... Til I finally switched to > > > Mandrake. Another thing is hardisk right now are not reliable. I > > > have > > > changed my hardisk every year to many bad sectors. :-( > > > > > > I still find some glitches with TStringGrid, try the following > > > property > > > values. > > > > > > object Stringgrid1: TSTRINGGRID > > > AUTOADVANCE = aadown > > > COLCOUNT = 5 > > > DEFAULTCOLWIDTH = 64 > > > DEFAULTROWHEIGHT = 24 > > > DEFAULTDRAWING = False > > > FIXEDCOLS = 1 > > > ROWCOUNT = 2 > > > FIXEDROWS = 1 > > > GRIDLINEWIDTH = 0 > > > OPTIONS = [gofixedvertline, gofixedhorzline, govertline, > > > gohorzline, gorangeselect, gocolsizing, gorowselect, > > > godblclickautosize] > > > PARENTCTL3D = False > > > SCROLLBARS = ssautoboth > > > TABORDER = 0 > > > VISIBLECOLCOUNT = 4 > > > VISIBLEROWCOUNT = 1 > > > ONBEFORESELECTION = StringgridDataBEFORESELECTION > > > ONSELECTION = StringgridDataSELECTION > > > HORZSCROLLBAR.PAGE = 403 > > > HORZSCROLLBAR.RANGE = 322 > > > VERTSCROLLBAR.PAGE = 215 > > > VERTSCROLLBAR.RANGE = 122 > > > LEFT = 10 > > > HEIGHT = 232 > > > TOP = 33 > > > WIDTH = 420 > > > HELPTYPE = htkeyword > > > end > > > > > > What I wanted to do was to have the TStringGrid select the whole > > > row > > > and when i press arrow down or up keys the hightlight must move up > > > or > > > down. But the result are not what I expected. Using mouse is okay > > > but > > > using the keyboard is not. > > > > > > Regards, > > > > > > Yoyong Hernan > > > > > > > > > Hi, here is a patch to fix this problem. > > > > Regards. > > > > Jesus Reyes A. > > > > > > _________________________________________________________ > > Do You Yahoo!? > > La mejor conexi�n a internet y 25MB extra a tu correo por $100 al mes. http://net.yahoo.com.mx > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email