Posted by member 137182 on 2006-01-28 20:08:20
Hello,
i have a little problem with xTextEdit. My code is like this:
*Popup "Font Size" Folder
if FontSize = 12
*Popup "Small" !execute [!xTextReplace @$ConfigDir$themevars.rc@ @FontSize 14@ @FontSize 12@] [!recycle]
elseif FontSize = 14
*Popup "Tall" !execute [!xTextReplace @$ConfigDir$themevars.rc@ @FontSize 12@ @FontSize 14@] [!recycle]
*Popup ~Folder
But this doesn't work. Just the second part(if the Fontsize is 14) works. But if the FontSize is 12, the popup doesn't appear. Nothing happens.
Where is the error?
i have a little problem with xTextEdit. My code is like this:
*Popup "Font Size" Folder
if FontSize = 12
*Popup "Small" !execute [!xTextReplace @$ConfigDir$themevars.rc@ @FontSize 14@ @FontSize 12@] [!recycle]
elseif FontSize = 14
*Popup "Tall" !execute [!xTextReplace @$ConfigDir$themevars.rc@ @FontSize 12@ @FontSize 14@] [!recycle]
*Popup ~Folder
But this doesn't work. Just the second part(if the Fontsize is 14) works. But if the FontSize is 12, the popup doesn't appear. Nothing happens.
Where is the error?