🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.basic.visual.misc
Article #422

Re: Control creation

#422
From: Bart Lateur
Date: Tue, 16 Sep 1997 00:00
29 lines
2041 bytes
Lukas Casar <casar@integia.cz> wrote:

>1) How to write to runtime-read-only properties of control I'm using as
>the base of my new control.
>   I need to create my own control based on standard ListView. ListView
>has for example 'HideSelection' property, which is read-only in runtime.
>But when I'm creating own control based on ListView, this ListView is in
>'runtime' mode while my new control is in design-time in VB development
>environment. It means that I can't change this property of ListView in
>design-time of my new control, because that ListView in already in
>runtime mode. 

Properties like this (e.g. the sorted property of a list box, or the
style of a combo box) aren't really properties. VB simply creates a
different type of control, depending on the value you assign to these
properties.

That's why these properties are read-only.

What is worth checking out, although I haven't actually used it yet, is
the very decent freeware DLL's from SoftCircuits, like VB-asm (16-bit)
and VBHelper (32-bits). These let you recreate a VB control at run time.
This should allow you to do what you want. 

	http://www.softcircuits.com/sw_tools.htm

HTH,
Bart.
Technical Details
Message-ID: <342002c7.2561262@news.tornado.be>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <341E897E.3749@integia.cz>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113d8f,56c43aebb403b64c
X-Google-Attributes: gid113d8f,public
X-Google-Thread: 10b213,56c43aebb403b64c
X-Google-Attributes: gid10b213,public
X-Google-Thread: 108062,56c43aebb403b64c
X-Google-Attributes: gid108062,public
X-Google-Thread: 110e3b,56c43aebb403b64c
X-Google-Attributes: gid110e3b,public
From: bart.mediamind@tornado.be (Bart Lateur)
Subject: Re: Control creation
Date: 1997/09/16
Message-ID: <342002c7.2561262@news.tornado.be>
X-Deja-AN: 273085605
References: <341E897E.3749@integia.cz>
X-Complaints-To: usenet@tornix.tornado.be
X-Trace: tornix.tornado.be 874456116 16557 (None) 194.149.67.133
Organization: MediaMind
Newsgroups: comp.lang.basic.visual.misc,cz.comp.lang.basic.visual,microsoft.public.vb.controls,microsoft.public.vb.controls.creation