Hmmm, is it just me or is control clipping on a canvas broken in 2007r3?
I just tried an experiment with a generic canvas with the following
code in the canvases open event:
Dim x As Integer
Dim bbJob As BevelButton
For x = 1 to 25
bbJob = New BevelButton1
bbJob.Parent = Canvas1
bbJob.Caption = "Button " + Str(x)
bbjob.Top = BevelButton1(0).Top + (22 * x)
Next
The buttons drew right out of the bottom of the canvas with no regard
for clipping.
Am image drawn in the paint event is properly clipped.
Anyone else seeing this?
Tim
--
Tim Jones
tjmac at tolisgroup dot com
On Jun 30, 2007, at 3:25 AM, Tim Jones wrote:
> On Jun 30, 2007, at 3:20 AM, Tim Jones wrote:
>
>> Hi Folks,
>>
>> I'm looking to implement a custom control class that will display a
>> custom view into a stack of customer buttons (canvases).
>
> 'customer' should be 'custom' (hey, it's 3:25 in the morning ... :-) )
>
>> What I want to do is to be able to create zero to n buttons in a
>> scrollable view. The control must be able to add of remove buttons
>> and provide vertical scrolling to allow the user to access all of
>> the current buttons, regardless of the number.
>>
>> I've examined doing this with a scrollable canvas, but 'm concerned
>> with the flicker that I witness on Windows and Linux. This led me
>> to a container control as the host control, but I'm lost as to how
>> to implement the vertical scroll operation.
>>
>> Anyone using container controls for a similar function or have
>> ideas of how to implement this?
>>
>> Thanks,
>>
>> Tim
>> --
>> Tim Jones
>> tjmac at tolisgroup dot com
>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
>
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>
>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|