Re: Best way to have a tabbed MDI application



you do need to have (read insert) a blank tab page for each sub form you are
instantiating.

"Mac via DotNetMonster.com" <u9483@uwe> wrote in message
news:588e33d3a9ba7@xxxxxx
> Jeff,
>
> couldn't seem to get past the index error - "0 is not a valid value for
> index". In an attempt to resolve it before the Me.FromHandle statement I
> actually added a blank tabpage to the tab control.
>
> The Me.FromHandle statement was then fine, but I then got an "object not
> instantiated" error when I attempt myForm.show. I then tried a more basic
> form and there was no error but the form doesn't actually show! So in the
> end
> my workaround doesn't work, so I guess I am back to trying to fix the
> index
> error. Do you have any suggestions? Do I need to do something to the
> tabcontrol first before referencing it?
>
>
> Mac
>
> Mac wrote:
>>Hi again Jeff,
>>
>>Have managed to get further - I can access those properties, they just
>>weren't in the intellisense box. Don't quite understand that but I am not
>>going to worry about.
>>
>>Will continue to play with it - getting an invalid index message at the
>>moment. Will let you know how I go.
>>
>>Mac
>>
>>>Thanks for that Cor - I think I got your point (actually I kinda feel
>>>like
>>>Neo after a visit to the Oracle - I need a cookie!! :)
>>[quoted text clipped - 24 lines]
>>>>>
>>>>> Mac
>
> --
> Message posted via DotNetMonster.com
> http://www.dotnetmonster.com/Uwe/Forums.aspx/dotnet-vb-net/200512/1


.



Relevant Pages

  • Re: [PATCH] intel-rng: Undo mess made by an 80 column extremist
    ... Jeff> Even if he is, _that_ is definitely not getting changed. ... char tab, 80 column rule and 25-50 lines ... And enables high code reuse. ... Now try to find such problems within Linux. ...
    (Linux-Kernel)
  • Re: Tab Control Pages
    ... On the Format or All tab of the Property Sheet, ... Multi Row ... Jeff Conrad - Access Junkie - MVP Alumni ... Co-author - Microsoft Office Access 2007 Inside Out ...
    (microsoft.public.access.formscoding)
  • Re: Active Directory user isolation and write access
    ... >>>Users are isolated with active directory user isolation and have their ... > users do have full control on the home directory. ... > tab for the site. ...
    (microsoft.public.inetserver.iis.ftp)
  • Re: Best way to have a tabbed MDI application
    ... You have a MainForm that has a tab control. ... > Hi Jeff, ... >>then instantiate each form setting its parent to the tab page. ...
    (microsoft.public.dotnet.languages.vb)