English
Forum

Done: 8 x RadioButton not possible in the GroupBox

 

Web
Scanner
Hi,

the next Mini-trouble.
an small Output one under-Window.
unfortunately are The Radiobuttons ex Pos 4 not To see.
what mach I there mere wrong?
CompileMarkSeparation
hD% = @Create(Dialog,%hWnd,Konfiguration der Parallelen Schnittstelle,100,100,800,500)
StartPaint hD%
Einen Button mit ENDE erzeugen
hB% = @Create(Button,hD%,&OK,700,400,50,50)
DrawText 10,10, Schnittstelle
DRAWtext 160,10,X-Motor
drawtext 340,10,Y-Motor
drawtext 500,10,Z-Motor
DrawText 10,50,PIN 2
DrawText 10,90,PIN 3
DrawText 10,130,PIN 4
DrawText 10,170,PIN 5
DrawText 10,210,PIN 6
DrawText 10,250,PIN 7
DrawText 10,290,PIN 8
DrawText 10,330,PIN 9
@Create(GroupBox,hd%,Richtung ,100,30,80,350)
@Create(GroupBox,hd%,Takt,190,30,80,350)
@Create(GroupBox,hd%,Richtung ,280,30,80,350)
@Create(GroupBox,hd%,Takt,370,30,80,350)
@Create(GroupBox,hd%,Richtung ,460,30,80,350)
@Create(GroupBox,hd%,Takt,550,30,80,350)
ha% = @Create(RadioButton,hd%,,135,50,20,20)
hb% = @Create(RadioButton,hd%,,135,90,20,20)
hc% = @Create(RadioButton,hd%,,135,130,20,20)
hd% = @Create(RadioButton,hd%,,135,170,20,20)
he% = @Create(RadioButton,hd%,,135,210,20,20)
hf% = @Create(RadioButton,hd%,,135,250,20,20)
hg% = @Create(RadioButton,hd%,,135,290,20,20)
hh% = @Create(RadioButton,hd%,,135,330,20,20)
EndPaint
 $B HALT!

Regards

Web
 
Xprofan X3.1
Win7 auf AMDX6
06/30/08  
 




Sebastian
Sprenger
Hi Web Scanner,
it's located on it, that You The variables hD% (and on the side said too hB%) for two different tack verwendest...
first erstellst You a dialog and lay it in the Variable hD% ex. on this dialog hD% prepares You further Radiobuttons - and the 4. is even hd%, what itself with the dialog überschneidet.
Solution: others Variablennamen...
Greeting, Sebastian
 
Profan² 7.0e, XProfan 9, 11.2a, FreeProfan32
Windows Vista Home Premium 32-Bit, 2.8 Ghz, 4 GB RAM
Windows Me, 1.8 Ghz, 256 MB RAM
06/30/08  
 




Web
Scanner

one must first on it punched go.
Thank you!

with the Varaibelen have I already sometimes Fun had.

Regards

Web
 
Xprofan X3.1
Win7 auf AMDX6
06/30/08  
 




Jörg
Sellmeyer
i'd simply aussagekräftigere names using. Also can You you with a prefix leichter Überblick verschaffen. Z.B. btn_Ende& is the Button for ...; btn_Hilfe&, btn_OK, lb_Anzeige&, u.s.w.
rb_Auswahl1&, rb_Auswahl2& could then Radiobuttons his. the little More on Schreibarbeit rewards itself particularly with more Codes. Undwenn You time one halbes year not in a proposition worked have, is the training too plenty leichter.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
07/01/08  
 



Jörg has How always right
...I have me already to langer Time a INC-File written, in which any grundlegenden variables already registered are.
z. B. help& neu&, edit&, print&, suche& ende& etc...

The File need I then only to that beginning into new think about einzubinden and already runs The thing

short Variablenbezeichner are today neither More necessary, there eachone enough Arbeitspeicher has (in previous DOS-times watts here awful gespart and after a couple Monaten have you got your own code not any more reading can.)
Dialog-Window having by me fundamentally win01&, win02& etc... as Variable and with the Declaration write I me Kurzerklärung moreover
DECLARE win01& display for 8 Radiobuttons
 
07/01/08  
 




Web
Scanner
Okay, I will time note ....

I mehre still with the Radiobuttens around.
now wished I several groups with Radiobuttons in EINEM Window Show.

If I 2 Split (groups) beget, whom each first Button supra with setcheck set
and then time reinclicke, disappears the second gesetzte Button what about me can in both groups only a
Button enable. I need in eachone group but a gesetzen Button.

Gibts a ploy How the weg could?
alternative is ne Checkbox., I know...

Regards

Web
 
Xprofan X3.1
Win7 auf AMDX6
07/01/08  
 




Dietmar
Horn
Each group of RadioButtons with of/ one GroupBox umranden, then works the.
 
Multimedia für Jugendliche und junge Erwachsene - MMJ Hoyerswerda e.V.  [...] 

Windows 95 bis Windows 7
Profan² 6.6 bis XProfan X2 mit XPSE

Das große XProfan-Lehrbuch:  [...] 
07/01/08  
 




Web
Scanner
Hmm, with the Groupbox have I made.
I have means two Groupboxen with 8 Buttons.
The Buttons are too any in each of/ one Groupbox drinne.
Sorry because of whom variables, Have I not yet changed
CompileMarkSeparation
hD% = @Create(Dialog,%hWnd,Konfiguration der Parallelen Schnittstelle,100,100,800,500)
StartPaint hD%
Einen Button mit ENDE erzeugen
hB% = @Create(Button,hD%,&OK,700,400,50,50)
DrawText 10,10, Schnittstelle
DRAWtext 160,10,X-Motor
drawtext 340,10,Y-Motor
drawtext 500,10,Z-Motor
DrawText 10,50,PIN 2
DrawText 10,90,PIN 3
DrawText 10,130,PIN 4
DrawText 10,170,PIN 5
DrawText 10,210,PIN 6
DrawText 10,250,PIN 7
DrawText 10,290,PIN 8
DrawText 10,330,PIN 9
@Create(GroupBox,hd%,Richtung ,100,30,80,350)
@Create(GroupBox,hd%,Takt,190,30,80,350)
@Create(GroupBox,hd%,Richtung ,280,30,80,350)
@Create(GroupBox,hd%,Takt,370,30,80,350)
@Create(GroupBox,hd%,Richtung ,460,30,80,350)
@Create(GroupBox,hd%,Takt,550,30,80,350)
Block 1 X Motor
ha% = @Create(RadioButton,hd%,,135,50,20,20)
hb% = @Create(RadioButton,hd%,,135,90,20,20)
hc% = @Create(RadioButton,hd%,,135,130,20,20)
hk% = @Create(RadioButton,hd%,,135,170,20,20)
he% = @Create(RadioButton,hd%,,135,210,20,20)
hf% = @Create(RadioButton,hd%,,135,250,20,20)
hg% = @Create(RadioButton,hd%,,135,290,20,20)
hh% = @Create(RadioButton,hd%,,135,330,20,20)
Block 2 X Motor
ka% = @Create(RadioButton,hd%,,225,50,20,20)
kb% = @Create(RadioButton,hd%,,225,90,20,20)
kc% = @Create(RadioButton,hd%,,225,130,20,20)
kk% = @Create(RadioButton,hd%,,225,170,20,20)
ke% = @Create(RadioButton,hd%,,225,210,20,20)
kf% = @Create(RadioButton,hd%,,225,250,20,20)
kg% = @Create(RadioButton,hd%,,225,290,20,20)
kh% = @Create(RadioButton,hd%,,225,330,20,20)
setcheck ha%,1
eck ka%,1
 
Xprofan X3.1
Win7 auf AMDX6
07/01/08  
 



I wehre me slow against your Postings if I constantly these edit must only because You simply no [ code ] - day circa your Codes setting! Editier your Posting gefälligst self - right under edit.
 
07/01/08  
 




Sebastian
Sprenger
It's all right less therefore, that You The RadioButtons in GroupBoxes einrahmst, separate around the Order, in the You The RadioButtons and GroupBoxes anlegst. always if You a new GroupBox anlegst, begins too a new group of RadioButtons.
in the Übrigen shine Arrays for so a konsistente row of Buttons rather suitable.
CompileMarkSeparation
declare h%[7], k%[7]
Block 1 X Motor
@Create(GroupBox,hd%,Richtung ,100,30,80,350)
h%[0] = @Create(RadioButton,hd%,,135,50,20,20)
h%[1] = @Create(RadioButton,hd%,,135,90,20,20)
h%[2] = @Create(RadioButton,hd%,,135,130,20,20)
h%[3] = @Create(RadioButton,hd%,,135,170,20,20)
h%[4] = @Create(RadioButton,hd%,,135,210,20,20)
h%[5] = @Create(RadioButton,hd%,,135,250,20,20)
h%[6] = @Create(RadioButton,hd%,,135,290,20,20)
h%[7] = @Create(RadioButton,hd%,,135,330,20,20)
Block 2 X Motor
@Create(GroupBox,hd%,Takt,190,30,80,350)
k%[0] = @Create(RadioButton,hd%,,225,50,20,20)
k%[1] = @Create(RadioButton,hd%,,225,90,20,20)
k%[2] = @Create(RadioButton,hd%,,225,130,20,20)
k%[3] = @Create(RadioButton,hd%,,225,170,20,20)
k%[4] = @Create(RadioButton,hd%,,225,210,20,20)
k%[5] = @Create(RadioButton,hd%,,225,250,20,20)
k%[6] = @Create(RadioButton,hd%,,225,290,20,20)
k%[7] = @Create(RadioButton,hd%,,225,330,20,20)
@Create(GroupBox,hd%,Richtung ,280,30,80,350)
@Create(GroupBox,hd%,Takt,370,30,80,350)
@Create(GroupBox,hd%,Richtung ,460,30,80,350)
@Create(GroupBox,hd%,Takt,550,30,80,350)
und so weiter und so away...
Greeting, Sebastian
 
Profan² 7.0e, XProfan 9, 11.2a, FreeProfan32
Windows Vista Home Premium 32-Bit, 2.8 Ghz, 4 GB RAM
Windows Me, 1.8 Ghz, 256 MB RAM
07/01/08  
 




Web
Scanner
@IF Sorry, I Have sought How the goes and habs not The speedy found

now besssa?

@Sebastian -super thanks, now GEHTS moreover
 
Xprofan X3.1
Win7 auf AMDX6
07/01/08  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.578 Views

Untitledvor 0 min.
rquindt05/08/18
Ernst06/15/16
E.T.03/31/13
Julian Schmidt06/18/11

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie