Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Disable Control
#1
How to disable/enable the button in Dialog using macro.? and is posible to save the activex excelsheet in dialog?
#2

First qustion.

Code:
Copy      Help
EnableWindow win() 0
EnableWindow win() 1

Dont know on the other.
#3
Ok, that work, Thanks for the help John.
the last problem, Can anyone help me, how to save the excel sheet as activex in dialog.?
#4
excel sheet: search the forum
#5
Sir Gin, I have a little problem, How to make the value always have 2 digits. like in excel?
ex.
123 -> 123.00
123.5 -> 123.50
123.56789 -> 123.57

thank you for the help.
#6
Macro
Code:
Copy      Help
double d1(123) d2(123.5) d3(123.56789)
str s
s.format("%.2f" d1)
out s
s.format("%.2f" d2)
out s
s.format("%.2f" d3)
out s
#7
Great, Thanks you very much.


Forum Jump:


Users browsing this thread: 1 Guest(s)