|
|
|
#1
|
|||
|
|||
|
Hi,, i need help.. again.. how can i put this code in a custom label?
Quote:
|
| Sponsored Links |
|
#3
|
|||
|
|||
|
Thanks Altef,, but dont work,, is not a label, sorry is a tnewstatictext, i create a form, and i want to skin my "insert disc 1" msgbox like i made with the custom exit, but i have problem inserting that code
![]() I'll show you the code of the custom form, and the part where i want to put it,, if you can help me with that i'm very thankful to you. The change disc custom form: Quote:
Quote:
|
|
#4
|
||||
|
||||
|
If im correct delete this line
Code:
if MsgBox(ExpandConstant('{cm:ChangeDisk} ') + Arc1[2], mbError, MB_OKCANCEL) = IDCANCEL then ISDoneError := True;
Code:
MyChangeDiscMessage; MyChangeDisc.showmodel; If modelresult=mrno then ISDoneError := True; Code:
procedure ButtonOnClick(hBtn:HWND);
begin
sndPlaySound(ExpandConstant('{tmp}\click.wav'), $0002);
case hBtn of
CDYesBtn: begin MyExit.ModalResult:= mrYes; end;
CDNoBtn: begin MyExit.ModalResult:= mrNo; end;
end;
end;
Correct me if im wrong
__________________
Glass BB | BlackBox v2 | Portable Installer |
| The Following User Says Thank You to y_thelastknight For This Useful Post: | ||
Logrim (21-02-2014) | ||
|
#5
|
|||
|
|||
|
Thanks y_thelastnight, work fine, the form show correctly, but there is two little problems :d.. the buttons ok and cancel, not work well, and i cant show one part of the message..
this code part Quote:
And the buttons how i say dont work .. but thanks man, i have problems calling custom forms .. Still on vacations, by the way? :P
Last edited by Logrim; 21-02-2014 at 15:29. |
|
#6
|
||||
|
||||
|
Quote:
Quote:
![]() Quote:
__________________
Glass BB | BlackBox v2 | Portable Installer Last edited by y_thelastknight; 21-02-2014 at 20:29. |
| The Following User Says Thank You to y_thelastknight For This Useful Post: | ||
Logrim (22-02-2014) | ||
|
#7
|
|||
|
|||
|
I forget to set the var.. ains.. sorry for the silly cuestion y_thelasknight.. but the buttons still doesnt work,, i test in some ways and nothing work.
|
|
#8
|
||||
|
||||
|
Did you try with only tbutton??did it works??
__________________
Glass BB | BlackBox v2 | Portable Installer Last edited by y_thelastknight; 22-02-2014 at 02:36. |
|
#9
|
|||
|
|||
|
I try with invisible tbuttons like in my other forms, you know the others
.. but nothing,, i try with botva buttons and nothing,, and i try making a form like my detect installation form in that way:function ShowOptionsForm: TModalResult; var OptionsLabel, RepairButtonLabel, UninstallButtonLabel, OptionsCancelLabel: TLabel; RepairButton, UninstallButton, OptionsCancelButton: TNewButton; begin Result := mrNone; OptionsForm := CreateCustomForm; try etc etc But nothing seems to work. The botva butons showing correctly but seems not to aply mrCancel and mrOk. |
|
#10
|
||||
|
||||
|
Quote:
Eg ( botva2 button name.onclick=tbutton name.click ) Hope you understand what iam saying
__________________
Glass BB | BlackBox v2 | Portable Installer |
|
#11
|
|||
|
|||
|
not work.. aggg,,, nah, y_thelasknight, thanks,, dont worry,, i'll try make the work later,, i need a beer :P..
|
|
#12
|
||||
|
||||
|
Rofl
__________________
Glass BB | BlackBox v2 | Portable Installer |
|
#13
|
|||
|
|||
|
Problems solved y_thelastknight,,
all work ok now.
|
| The Following User Says Thank You to Logrim For This Useful Post: | ||
y_thelastknight (22-02-2014) | ||
|
#15
|
|||
|
|||
|
Hello all!
Im new in this thingy aaaaand i dont really have some expirience in Inno or Issi or Isskin and so on and on aaaaaaaand my question might be dumb but i wasted 2 days of thinking how to solve the problem aaaaand i cant.Im working with INNO, ISSI, and ISSkinSo i have some codes with InitializeWizard and InitializaSetup i know that in _issi.isi has the same lines aaaaaaand i tryed with making #define ISSI_useMyInitializeWizard and ISSI_useMyInitializeSetup and add it the same in the [CODE] Line but then the code dont work. I tryed to make the line liiiike InitializeWizard() and InitializeWizard(1/2/3/4 and so on) aaand the codes dont respawn again. I even tryed to change the lines in .isi file (that idea was retard i know) aaand nothing again xD I guess there is solution but i dont have the point of view to see it (if you know what i mean) so please i will be really happy if someone has some ideas how to work that out. |
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup | REV0 | Conversion Tutorials | 129 | 21-05-2021 05:51 |
| INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup | REV0 | Conversion Tutorials | 51 | 26-03-2015 06:57 |
| Frequently Asked Questions | Joe Forster/STA | PC Games - Frequently Asked Questions | 0 | 29-11-2005 09:48 |