Results 1 to 11 of 11

Thread: Help needed in activex writing - want to move control on form

Hybrid View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Oct 2000
    Posts
    1,463

    Help needed in activex writing - want to move control on form

    Hello,

    I have written a few activex controls so I'm familiar with how its done. But one thing I've never done before that I want to do is to move the control itself on the form its on. For the Usercontrol name, there is no Left or Top properties to it. Is there any way from within the activex code itself I can move the control on its parent form with the Left/Top properties?

    Thanks!

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: Help needed in activex writing - want to move control on form

    Use the Extender object. It will work if the control is on a VB Form but you can not be sure that it works with another extender object, like IE or if you would use it in another environment. So you should always use an On Error statement when dealing with the Extender object.
    VB Code:
    1. On Error Resume Next
    2. Extender.Top = 0
    3. Extender.Left = 0

  3. #3
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961

    Re: Help needed in activex writing - want to move control on form

    If you use the ActiveX Object Creation Wizard, I believe you can choose those properties to be included on your Control.
    Nobody knows what software they want until after you've delivered what they originally asked for.

    Don't solve problems which don't exist.

    "If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)

    2 idiots don't make a genius.

  4. #4
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: Help needed in activex writing - want to move control on form

    Quote Originally Posted by Dave Sell
    If you use the ActiveX Object Creation Wizard, I believe you can choose those properties to be included on your Control.
    Top and Left are extender properties that is always added automatically. It's not your control that controls the position, it is relative to the Form (or another container such as a Picture box or a Frame) and using the ScaleMode of the Form/Container.

  5. #5
    New Member
    Join Date
    May 2005
    Posts
    5

    Re: Help needed in activex writing - want to move control on form

    Still waiting for my money and a reply Warren.

  6. #6
    New Member
    Join Date
    May 2005
    Posts
    5

    Re: Help needed in activex writing - want to move control on form

    Still not even a reply Warren? We are still waiting for product to be shipped or a refund issued. Please respond. Please respond to e-mails also.

  7. #7
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961

    Re: Help needed in activex writing - want to move control on form

    What are you talking about?
    Nobody knows what software they want until after you've delivered what they originally asked for.

    Don't solve problems which don't exist.

    "If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)

    2 idiots don't make a genius.

  8. #8
    New Member
    Join Date
    May 2005
    Posts
    5

    Re: Help needed in activex writing - want to move control on form

    Warren was paid for a product and I have not received it. He was responding to e-mails up till may 9th, when he acknowledged receiving my payment and said the item would be shipped the next day. Thats the last I heard from him. I should have received the item in 3 bus days. Still waiting for at least an explanation of what is going on from Warren. I had to resort to this forum since none of my e-mails to either of his addresses have been answered since may 9th. Not here to bad mouth or cause trouble, just trying to resolve this deal the easiest and least expensive way for both parties.

  9. #9
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: Help needed in activex writing - want to move control on form

    OK, Warren... You have to deliver! If you're stuck on something I hereby offer my help free of charge (if yamtester agrees). I usually don't work for free and if you need any credentials please feel free to contact me.

    The only reason I offer to help in this case is that I've been a member of this forum for some time and always taking proud of the fact that we've always kept a nice tone here within. I've lately seen threads warning us all from Warren, and I don't like that.

    Please, yamtester, don't think that I with this reply excuses Warren for not delivering. I don't! However I'm prepared to help. To Warren: When you read this please don't feel offended since I'm only offering my help, I can undertand if you have had some problems that kept you from delivering and if you accept my help (and yamtester and the company or party he represents agree) I will not mention a word about it, let's just get the job done!

  10. #10
    New Member
    Join Date
    May 2005
    Posts
    5

    Re: Help needed in activex writing - want to move control on form

    Thank you for offering your help. I am open to any help to resolve this issue.

  11. #11
    New Member
    Join Date
    May 2005
    Posts
    5

    Re: Help needed in activex writing - want to move control on form

    I am beginning to think that Warren doesn't want to resolve this issue which is a shame. If he doesnt have the item available, al I ask is a refund of the money. Its not a large amount at all that we are dealing with here. I can't understand how someone would risk their integrity and reputation over a few bucks. again Warren, lets please resolve this on a personal basis and not let it go any further.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width