Recent

Author Topic: How to open Form1 in Form2 with Laz4Android  (Read 3291 times)

tuntnguyen

  • Newbie
  • Posts: 2
How to open Form1 in Form2 with Laz4Android
« on: February 21, 2015, 03:59:34 pm »
Hi,
I am a newbie in Android System. I want to write a simple application on my device.
I have got problem with opening Form1 in Form2 in LazAndroid or something similar like Lazarus Free Pascal GUI: I used Form1.ShowModal; It have worked perfectly on WINDOWS, however it has not worked on Android device.

Could you tell me how or explain if it can not do so ?  :(

Thanks

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: How to open Form1 in Form2 with Laz4Android
« Reply #1 on: February 21, 2015, 05:31:10 pm »
Hi,
I am a newbie in Android System. I want to write a simple application on my device.
I have got problem with opening Form1 in Form2 in LazAndroid or something similar like Lazarus Free Pascal GUI: I used Form1.ShowModal; It have worked perfectly on WINDOWS, however it has not worked on Android device.

Could you tell me how or explain if it can not do so ?  :(

Thanks
Please look at the demos

asher1

  • Newbie
  • Posts: 2
Re: How to open Form1 in Form2 with Laz4Android
« Reply #2 on: February 23, 2015, 09:15:26 am »
 Final_grade:= Coursework[count]/100*45)+(Exam]count]/100*55;   

The error is   IT_SBA.pas(33,43) Error: Incompatible types: got "Extended" expected "Array[1..10] Of LongInt"

how do i fix this

Nitorami

  • Sr. Member
  • ****
  • Posts: 496
Re: How to open Form1 in Form2 with Laz4Android
« Reply #3 on: February 23, 2015, 07:42:05 pm »
This piece of code is syntactically wrong. I suggest you correct your brackets first, then ask again.

 

TinyPortal © 2005-2018