| T O P I C    R E V I E W | 
              
                | pierrotsc | Posted - May 27 2021 : 12:02:24 I am puzzled. When i draw a line by clicking, using  ActiveImageEnView().MouseInteractLayers :=
 [mlEditLayerPoints, mlClickCreateLineLayers];
 
 i only get the end point. Nothing is drawn. not sure if i have to setup a brush.
 See attached.
 
 
  | 
              
                | 5   L A T E S T    R E P L I E S    (Newest First) | 
              
                | pierrotsc | Posted - Sep 21 2021 : 17:28:19 never mind. i did find my coding error. I have been overwriting the default.
 | 
              
                | pierrotsc | Posted - Sep 21 2021 : 17:15:35 i even added
 ImageEnView1.LayerDefaults.Values[ IELP_LineColor ] := 'clRed';
 ImageEnView1.LayerDefaults.Values[ IELP_LineWidth ] := '6';
 
 
 
 
  | 
              
                | pierrotsc | Posted - Sep 21 2021 : 17:11:09 still cannot find the problem. if i have shapes at the start or end, they show but the line does not. Is there a way to find out the line color ? I assume i have a statement somewhere that makes the line invisible.
 
 | 
              
                | pierrotsc | Posted - May 27 2021 : 18:36:56 same behavior. that's not it..it has to be something i am doing. let me work on it..the weird thing is that adding point to create a polyline work fine.
 | 
              
                | xequte | Posted - May 27 2021 : 18:15:31 Hi
 
 It's possible the line/border is not set (width = 0 or Color = clNone).
 
 Try settings some layer defaults:
 
 https://www.imageen.com/help/TImageEnView.LayerDefaults.html
 
 e.g.
 ImageEnView1.LayerDefaults.Values[ IELP_BorderColor ] := '$008000FF';
 ImageEnView1.LayerDefaults.Values[ IELP_BorderWidth ] := '3';
 
 
 Nigel
 Xequte Software
 www.imageen.com
 
 |