Recent

Author Topic: [solved] May be TcomboBox.SelStart Wrong in win 32/64 platform  (Read 1508 times)

zhangshelly

  • New Member
  • *
  • Posts: 13
[solved] May be TcomboBox.SelStart Wrong in win 32/64 platform
« on: November 24, 2023, 10:58:25 am »
comboBOX  input  非常,then in   "DropDown" event write 
var
  ist:integer;
begin
  ist:=ComboBox1.SelStart;     
  if ist>2 then
   Beep;
end;
------
 Tedit   Tmemo   return 2,but  TcomboBox return 4
--------------------
FPC version 3.2.2  Lazarus verison 2.26  stable ,win11  x64
« Last Edit: November 29, 2023, 04:24:28 am by zhangshelly »

ASerge

  • Hero Member
  • *****
  • Posts: 2379
Re: May be TcomboBox.SelStart Wrong in win 32/64 platform
« Reply #1 on: November 24, 2023, 11:51:10 am »
Tedit   Tmemo   return 2,but  TcomboBox return 4
FPC version 3.2.2  Lazarus verison 2.26  stable ,win11  x64
FPC version 3.2.2, Lazarus version 3.0RC2, win7 x64.
TEdit, TMemo and TComboBox return 2.

zhangshelly

  • New Member
  • *
  • Posts: 13
Re: May be TcomboBox.SelStart Wrong in win 32/64 platform
« Reply #2 on: November 24, 2023, 05:22:05 pm »
same binary Exe file,  run in win10  x64  (vmware) get right resualt...........

 

TinyPortal © 2005-2018