Show Dots

Post Reply
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Show Dots

Post by Silvio »

When I show dots for a get or say class I wish show circles dots and not windows black dots
Someone Know How change showdots method from control.prg ?
Best Regards, Saludos

Falconi Silvio
User avatar
sambomb
Posts: 385
Joined: Mon Oct 13, 2008 11:26 am
Location: Itaocara - RJ - Brasil
Contact:

Post by sambomb »

Try: Chr(144) I hope it can help you ;)
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Post by Silvio »

sorry but perhaps YOU not Understand what I am talking
Best Regards, Saludos

Falconi Silvio
Rochinha
Posts: 309
Joined: Sun Jan 08, 2006 10:09 pm
Location: Brasil - Sao Paulo
Contact:

Post by Rochinha »

Show Us! put an image sample.
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Post by Silvio »

I wish make it :

Image

I made a Box class but I have

Image

Some can help me ?



[/img]
Best Regards, Saludos

Falconi Silvio
Rochinha
Posts: 309
Joined: Sun Jan 08, 2006 10:09 pm
Location: Brasil - Sao Paulo
Contact:

Post by Rochinha »

Try BRUSH in CheckDots method:

Code: Select all

METHOD CheckDots() CLASS TControl
...
   DEFINE CURSOR oSizeNWSE SIZENWSE
   DEFINE CURSOR oSizeNESW SIZENESW
   DEFINE CURSOR oSizeNS   SIZENS
   DEFINE CURSOR oSizeWE   SIZEWE

   DEFINE BRUSH oDotBrush FILENAME "dot.bmp"

   DEFINE WINDOW oDot1 OF oWndParent;
      STYLE nOr( WS_CHILD, WS_CLIPSIBLINGS );
      FROM 0, 0 TO 2, 2 PIXEL ;
      COLOR "N/N" ;
      CURSOR oSizeNWSE BRUSH oDotBrush

   DEFINE WINDOW oDot2 OF oWndParent;
      STYLE nOr( WS_CHILD, WS_CLIPSIBLINGS ) ;
      FROM 0, 0 TO 2, 2 PIXEL ;
      COLOR "N/N" ;
      CURSOR oSizeNS BRUSH oDotBrush
...
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Post by Silvio »

you have try it ?
Best Regards, Saludos

Falconi Silvio
Post Reply