Tobject 强制转换为整型用什么函数

解决方案 »

  1.   

    http://expert.csdn.net/Expert/topic/2141/2141698.xml?temp=.3217737你是指哪个。
      

  2.   

    Active :=false;
            CommandText :='select * from table;
            Active :=True;        if recordcount<>0 then
            begin
                for intI:=1 to recordcount do
                begin
                    flatcombobox1.Items.AddObject(trim(fieldbyname('a').asstring),TObject(fieldbyname('b').asinteger)) ;                next;
                end;
            end;现在我想把那个整型值取出来就要强制转换呀
      

  3.   

    var
    a:TObject;
    begin
    Integer(a);
      

  4.   

    TObject转成整型有什么意义啊!!
    请告之