Re: Resize CurrentWidth of FTCustomHyperlink

  • From: Jym Morton <jymmorton@xxxxxxxxx>
  • To: ftcdev@xxxxxxxxxxxxx
  • Date: Fri, 5 Aug 2011 12:42:42 -0400

So what I've done and it looks like it works is

Self.Constructor(self.parentcontrol, "arial", 14, "New display text", "New URL")

Is that correct?


Jym Morton
Toronto, ON



On Fri, Aug 5, 2011 at 12:10 PM, Brendan Murphy
<bmurphy@xxxxxxxxxxxxxxxxxxxxx> wrote:
> Jym Morton wrote:
>> Can you point me in the direction of where to change the Width of an
>> FTCustomHyperlink please, I have it so the User can edit the link or
>> the displayText but I can't find what I need to code to have it resize
>> the displayText for example if they want to change the displayText
>> from "My Display Text" to "Text"  the link displays
>> "Text______________"
>
> Remember that a custom object is based off the FTPicture class, so
> basically you have to resize the underlying picture. With the
> FTCustomHyperlink, that work is done inside the constructor. So
> you pull out the relevant code from the constructor and make your
> own method to resize. Even better, you can just call the
> constructor since it is just a method to do the resize.
>
>
>
> FTC Website: http://www.truenorthsoftware.com/formattedtextcontrol
> Set List Options (digest and vacation modes): www.freelists.org/list/ftcdev
> List Archive: www.freelists.org/archives/ftcdev
> Unsubscribe: Send email to ftcdev-request@xxxxxxxxxxxxx with "unsubscribe" in 
> the subject field.
>
>
>
>
FTC Website: http://www.truenorthsoftware.com/formattedtextcontrol
Set List Options (digest and vacation modes): www.freelists.org/list/ftcdev
List Archive: www.freelists.org/archives/ftcdev
Unsubscribe: Send email to ftcdev-request@xxxxxxxxxxxxx with "unsubscribe" in 
the subject field.



Other related posts: