T O P I C R E V I E W |
pierrotsc |
Posted - Apr 12 2012 : 11:57:06 I am trying to hide the grips around an object. I am using: ObjGripPen.Style := psClear; ObjGripBrush.Style := bsClear;
But it has no effect. When i click on an object, the grips appears around the objject. I want to hide them by code without clicking anywhere else.
Can it be done? thanks. P |
4 L A T E S T R E P L I E S (Newest First) |
pierrotsc |
Posted - Apr 12 2012 : 13:52:58 I think i got it to work. I also had a selection grip on top of the object grip and it was the one that would stay. By using deselect, everything is good now. My mistake. Sorry |
fab |
Posted - Apr 12 2012 : 13:31:10 No, I tried an empty project with just a TImageEnVect. A button click executes ObjGripPen/ObjGripBrush settings, and the grips immediately hide. Of course this is valid for "objects" grips, not for selection grips. |
pierrotsc |
Posted - Apr 12 2012 : 13:25:02 maybe I am doing it wrong. It is really the last selected object grips I want to hide. Do i need to add something else to my 2 lines statement? I still see all the yellow circles around my box.. Thanks. |
fab |
Posted - Apr 12 2012 : 13:02:44 Please re-check. In my tests setting ObjGripPen.Style and ObjGripBrush.Style actually hides the grips. |