PhoenixXL Posted May 17, 2012 Share Posted May 17, 2012 (edited) Why am i not getting all the Three Labels.......... Visible................??? Code:_GetInput('Just Chilling Out') Func _GetInput($sTitle,$sText='PassWord',$sFirstButton='Ok',$sSecondButton='Cancel') Opt('GUIOnEventMode',1) Local $hGui= GUICREATE($sTitle, 300, 100, -1, -1, 0x80000000, BITOR(0x00000008, 0x00000080)) Local $sLabel[3]=[GUICtrlCreateLabel($sText,20,10,100,45),GUICtrlCreateLabel($sFirstButton,200,70,50,30),GUICtrlCreateLabel($sSecondButton,270,70,50,30)] GUICtrlSetColor(-1,0xffffff) Local $sInput=GUICtrlCreateInput('',20,30,260,30) GUISetOnEvent(-3,'_Exit',$hGui) GUISetBkColor(0) WinSetTrans($hGui, "", 0) GUISetState(@SW_SHOW, $hGui) For $I = 0 To 207 Step 0.2 WinSetTrans($hGui, "", $I) Next While 1 Sleep(10000) WEnd EndFunc Func _Exit() Exit EndFunc Edited June 8, 2012 by PhoenixXL My code: PredictText: Predict Text of an Edit Control Like Scite. Remote Gmail: Execute your Scripts through Gmail. StringRegExp:Share and learn RegExp.Run As System: A command line wrapper around PSEXEC.exe to execute your apps scripts as System (LSA). Database: An easier approach for _SQ_LITE beginners. MathsEx: A UDF for Fractions and LCM, GCF/HCF. FloatingText: An UDF for make your text floating. Clipboard Extendor: A clipboard monitoring tool. Custom ScrollBar: Scroll Bar made with GDI+, user can use bitmaps instead. RestrictEdit_SRE: Restrict text in an Edit Control through a Regular Expression. Link to comment Share on other sites More sharing options...
PhoenixXL Posted May 17, 2012 Author Share Posted May 17, 2012 I got the Answer.............. THe Background is Black Therefore Not able to See the Label.................... My code: PredictText: Predict Text of an Edit Control Like Scite. Remote Gmail: Execute your Scripts through Gmail. StringRegExp:Share and learn RegExp.Run As System: A command line wrapper around PSEXEC.exe to execute your apps scripts as System (LSA). Database: An easier approach for _SQ_LITE beginners. MathsEx: A UDF for Fractions and LCM, GCF/HCF. FloatingText: An UDF for make your text floating. Clipboard Extendor: A clipboard monitoring tool. Custom ScrollBar: Scroll Bar made with GDI+, user can use bitmaps instead. RestrictEdit_SRE: Restrict text in an Edit Control through a Regular Expression. Link to comment Share on other sites More sharing options...
Zedna Posted May 17, 2012 Share Posted May 17, 2012 This is more obvious and better readable code: Local $sLabel[3] $sLabel[0]=GUICtrlCreateLabel($sText,20,10,100,45) $sLabel[1]=GUICtrlCreateLabel($sFirstButton,200,70,50,30) $sLabel[2]=GUICtrlCreateLabel($sSecondButton,270,70,50,30) Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
PhoenixXL Posted May 17, 2012 Author Share Posted May 17, 2012 Thanks for the Reply Zedna n Yeah !!! U R rite.......... That was actually the Main Cause of my Problem....... My code: PredictText: Predict Text of an Edit Control Like Scite. Remote Gmail: Execute your Scripts through Gmail. StringRegExp:Share and learn RegExp.Run As System: A command line wrapper around PSEXEC.exe to execute your apps scripts as System (LSA). Database: An easier approach for _SQ_LITE beginners. MathsEx: A UDF for Fractions and LCM, GCF/HCF. FloatingText: An UDF for make your text floating. Clipboard Extendor: A clipboard monitoring tool. Custom ScrollBar: Scroll Bar made with GDI+, user can use bitmaps instead. RestrictEdit_SRE: Restrict text in an Edit Control through a Regular Expression. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now