View Single Post
  #4  
Old 27-09-2015, 12:46
JRD!'s Avatar
JRD! JRD! is offline
Registered User
 
Join Date: Sep 2015
Location: Matrix
Posts: 274
Thanks: 225
Thanked 600 Times in 168 Posts
JRD! is on a distinguished road
Thank you altef_4 !

Code:
if (Width = xres) and (Height = yres) then  DisplayCombo.ItemIndex:=DisplayCombo.Items.Count-1;
Just a want check native resolution on first run, after check last resolution selected in the xml file...

Code:
if (Width = StrToInt(ResW)) and (Height = StrToInt(ResH)) then DisplayCombo.ItemIndex:=DisplayCombo.Items.Count-1;
You helped me a lot!

If that little interest someone:
Attached Files
File Type: zip CheckResDynamic.zip (3.1 KB, 13 views)

Last edited by JRD!; 27-09-2015 at 13:41.
Reply With Quote
The Following User Says Thank You to JRD! For This Useful Post:
houcine80 (17-11-2015)