Discussion of article "Graphical Interfaces XI: Integrating the Standard Graphics Library (build 16)" - page 5

 
Konstantin:

how to move to the right the lettering with the icon together:

The icon is moved separately by IconXGap(...) method, but the inscription I haven't found how

Example:

   m_window1.IconXGap(80);
   m_window1.LabelXGap(100);

Result:


 
Anatoli Kazharski:

Example:

Result:


already found it ))

By the way, how to make the form transparent, but leave the header not transparent?

 
Konstantin:

By the way, how to make the form transparent, but leave the header not transparent?

I can't do that now.

 
Anatoli Kazharski:

You can't do that now.

Too bad, it's the most needed thing, I'll have to build a library again ((

 
Konstantin:

bad, the most needed thing, I'll have to build a library again ((

Why do you need to do that? What end result do you want to get?

 
Anatoli Kazharski:

Why do you need to do this? What end result do you want to get?

I need a form header (since there is no way to get rid of it), a transparent form canvas that would be visible when testing the chart, like here, only with one ticker:

now the form header does not look nice, if you make it not transparent and move the icon with text to the left, the chart will not be visible.

I had to move the form icon and the inscription, so that there would be no overlap with the chart symbol, which cannot be removed in any way

 
By the way, how to change the background colour of a table cell? Or at least a row?
 
Konstantin:

you need a form header (since you can't get rid of it in any way, a transparent form canvas that would be visible when testing a chart, like here, only with one ticker:

now the form header does not look nice, if you make it not transparent and move the icon with the text to the left, the chart will not be visible.

I had to move the form icon and the inscription to avoid overlapping the chart symbol, which cannot be removed in any way

Can't the icon and text not be shown at all? Then you won't have to move them.
 
Konstantin:

you need a form header (since you can't get rid of it in any way, a transparent form canvas that would be visible when testing a chart, like here, only with one ticker:

now the form header does not look nice, if you make it not transparent and move the icon with the text to the left, the chart will not be visible.

I had to move the form icon and the inscription so that there would be no overlap on the chart symbol, which cannot be removed in any way.

Just this?

You can't see the chart behind the table anyway. So you can just do as shown in the screenshot below. The symbol, and anything else, can be added to the header.


 
Konstantin:
By the way, how to change the background colour of a table cell? Or at least a row?

So far only the text colour can be changed.