Jump to content

Recommended Posts

Posted

Hello,

I'm using in a unidbgrid Component the OnFieldImage Event to draw the content. There I'm drawing vertical lines. I Want that the lines are without gap to the next row.

But unigui does draw an empty white horizontal border line. So I have between the rows a gap from one pixel. In the options of the unidbgrid I've set dgRowLines to False.

You can see this on the example.

Is there a way to prevent this. I've tried some things which I've found in the web. But nothing helps.

Best wishes

Bernhard

beispiel.PNG

Posted
9 hours ago, Bernie07 said:

I'm using in a unidbgrid Component the OnFieldImage Event to draw the content. There I'm drawing vertical lines. I Want that the lines are without gap to the next row.

Hello,

Which build are you using?

Can you make a simple testcase to reproduce?

Best regards,

Posted

Thanks for your answer :

we are using the version 1.90.0.1502.

To reproduce :

Use simple OnFieldImage to draw a vertical line like :

      OutImage := TBitmap.Create;
      OutImage.SetSize(Column.Width, 20);
      cCanvas := TBitmap(OutImage).Canvas;
      cCanvas.Brush.Style := TBrushStyle.bsSolid;
      cCanvas.Pen.Color := clSilver;

      cCanvas.MoveTo(100, 0);

      cCanvas.LineTo (100, 20)

You need a table with more than one record, which is connected to the unidbgrid component. In one field (which you want to draw) is ImageOptions set to Visible.

Now you should see, that there is a gap between the vertical lines.

Best wishes

Bernhard Roos
 

  • 2 weeks later...
Posted

Now I have installed the newest unigui (1535) and recompiled my project.

But the problem still exists. Is there really no way to prevent the gap between the lines?

 

Best wishes

Bernhard Roos

Posted
3 minutes ago, Bernie07 said:

Now I have installed the newest unigui (1535) and recompiled my project.

But the problem still exists. Is there really no way to prevent the gap between the lines?

Hi,

Can you please make a simple app?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...