Sorry, I’m new to OO (thought I’ve programmed for decades in other
languages), and though what I want to do here seems so trivial, I’m just not
getting it to work (despite all the OO example exercises I’ve gone through in
my books):
- I have a Form with many labels (including Label1 & Label2, let’s say).
- When you click on Label1, another form is shown (which is actually a
dialog).
- On the dialog, I have radio buttons.
- When you click on a radio button, I need to set the Text property of
Label2 (back on the first Form) to a certain value.
That’s it. Thanks for your help.
--
RG 3 1179
RG,
Did yo not see my sample?
Cor
"RG" <rg@medworks.com> schreef in bericht
news:BB**********************************@microsof t.com... Sorry, I'm new to OO (thought I've programmed for decades in other languages), and though what I want to do here seems so trivial, I'm just not getting it to work (despite all the OO example exercises I've gone through in my books):
- I have a Form with many labels (including Label1 & Label2, let's say). - When you click on Label1, another form is shown (which is actually a dialog). - On the dialog, I have radio buttons. - When you click on a radio button, I need to set the Text property of Label2 (back on the first Form) to a certain value.
That's it. Thanks for your help.
-- RG
Sorry, No, I did not see your sample. Something must have gone wrong with my
post the first time - I received no replies, so I re-submitted it last night,
and all I have now is your one-sentence question. Please let me see your
sample again, if you would. Thanks very much.
--
RG
"Cor Ligthert [MVP]" wrote: RG,
Did yo not see my sample?
Cor
"RG" <rg@medworks.com> schreef in bericht news:BB**********************************@microsof t.com... Sorry, I'm new to OO (thought I've programmed for decades in other languages), and though what I want to do here seems so trivial, I'm just not getting it to work (despite all the OO example exercises I've gone through in my books):
- I have a Form with many labels (including Label1 & Label2, let's say). - When you click on Label1, another form is shown (which is actually a dialog). - On the dialog, I have radio buttons. - When you click on a radio button, I need to set the Text property of Label2 (back on the first Form) to a certain value.
That's it. Thanks for your help.
-- RG
RG,
A very simple way to begin with. (jroughly typed in this message
In the label click event (I would use a button which appearance is set to
flat) of your mainform
dim frm as new extraform
frm.ShowDialog
label2.text = frm.LabelTextField
frm.Dispose
frm.LabelTextField is in your extraform
Public LabelTextField as string.
This you string you fill in the event from that radiobutton and than end of
that event you set me.close
I hope this helps,
Cor
"RG" <rg@medworks.com> schreef in bericht
news:F3**********************************@microsof t.com... Sorry, No, I did not see your sample. Something must have gone wrong with my post the first time - I received no replies, so I re-submitted it last night, and all I have now is your one-sentence question. Please let me see your sample again, if you would. Thanks very much. -- RG
"Cor Ligthert [MVP]" wrote:
RG,
Did yo not see my sample?
Cor
"RG" <rg@medworks.com> schreef in bericht news:BB**********************************@microsof t.com... > Sorry, I'm new to OO (thought I've programmed for decades in other > languages), and though what I want to do here seems so trivial, I'm > just > not > getting it to work (despite all the OO example exercises I've gone > through > in > my books): > > - I have a Form with many labels (including Label1 & Label2, let's > say). > - When you click on Label1, another form is shown (which is actually a > dialog). > - On the dialog, I have radio buttons. > - When you click on a radio button, I need to set the Text property of > Label2 (back on the first Form) to a certain value. > > That's it. Thanks for your help. > > -- > RG This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Davor |
last post by:
Is it possible to write purely procedural code in Python, or the OO
constructs in both language and supporting libraries have got so
embedded that it's impossible to avoid them? Also, is anyone...
|
by: sklett |
last post by:
I have created a series of classes for my business layer, data retrieval is
working fine and things seem good.
However I have quickly discovered a design flaw in my system in that my
objects...
|
by: Fred |
last post by:
w/ the same problem:
" Hi,
When I try to create a new web project,
or "add existing project from web"
or "open from source control"
i'm prompted for a URL and type in a virtual directory.
...
|
by: Edward |
last post by:
I don't know if this has been covered here, but a search didn't reveal
a good fit. Sorry in advance and all that.
SCENARIO. Small software house used to building small, bespoke apps
using VB6,...
|
by: RG |
last post by:
Sorry, I’m new to OO (thought I’ve programmed for decades in other
languages), and though what I want to do here seems so trivial, I’m just not
getting it to work (despite all the OO example...
| |
by: Smitro |
last post by:
Hi all,
I have spent the last couple of days getting my code up to scratch with
PHP 5 and MySQL 5. (I still don't quite understand why we had to change
to mysqli from mysql)
Just a question,...
|
by: maxkumar |
last post by:
Hi,
I am running a ASP.NET 1.1 site on Win Server 2003 with IIS 6.0. The website
has been running for about 1.5 years now. In the past, we used to have random
cases of session variables getting...
|
by: Master Programmer |
last post by:
- Constant language / system changes
- Dropping of the VB language
- Security configuation minefields
- Loss of old code base
- Time consuming to learn (then it changes every 5 minutes)
- Slow...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |