Scrolling root embedded canvas

From: Anton Fokin (fokin@tsl.uu.se)
Date: Wed Mar 15 2000 - 20:55:30 MET


Hello,

I am a bit lost trying to get a scrollbar(s) for root embedded canvas. I
have a TGFrame with TRootEmbeddedCanvas and Canvas is a pointer obtained
from GetCanvas() call. I would like to do the following

1. Divide Canvas into two pads. This works. Then I woul like to fix sizes of
these pads, so that I get horizontal and vertical scrollbars for canvas
viewport if I resize the frame.

2. I would like to add another pad below two existing ones. The pad should
also have fixed size and it should not affect sizes of two top
pads/histograms.

So far I am not able to get it working.

Could you sugges something or refer me to a good example. In fact could you
tell me what lines I should add into the standard guitest to fix size of a
pad (histogram) in histogram fill dialog example?

Best,
Anton



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:21 MET