Fco

Member since: Wednesday, 29 April 2015
Last login: 5 years ago
Profile viewed: 1,184 views

Your Rank: 67
Points: 27

Fco replied to the topic 'How to load a web page' in the forum. 6 years ago
Fco replied to the topic 'std::thread in c++ AppMethod 1.16 unusable ?!' in the forum. 6 years ago

Hi, did you try it on 1.17?
Please improve your code formatting it is hard to read. cheers.

Read More...

Fco created a new topic ' Crash after closing App in Android' in the forum. 6 years ago

Hi, I'm getting a crash after closing the App in Android, written in C++ (Appmethod v1.17). The current Call Stack shows "...TPlatformAndroid.GetScreenScale(nil)". In order to reproduce it, just create a new Multi-Device App using the template "Tabbed with Navigation".... How to work around this crash? This also happening in other existing app I have and this crash shows up when the device is rotated.

Read More...

Fco is friends with Sarina D

Fco created a new topic ' How can I catch gesture events of TWebBrowser' in the forum. 7 years ago

Hi,
I have added a gestureManager to TWebBrowser but it doesn't work at all.
In fact, I need use only InteractiveGesture, but the corresponding event never triggers.

void __fastcall TForm1::WebBrowser1Gesture(TObject *Sender, const TGestureEventInfo &EventInfo,
          bool &Handled)
{
  String s;
	if (GestureToIdent(EventInfo.GestureID, s)) {
		ShowMessage(s);
	}
	else {
		ShowMessage("Could not translate gesture identifier");
	}

}

Thanks in advance.
Read More...

Fco replied to the topic 'Controls inside Grids for Windows, Android and iOS' in the forum. 7 years ago

I just watched this
www.youtube.com/watch?v=6sMlHH5xlZ8

He managed to modify the control just with some style changes, IDK if it could help to you somehow.
Read More...

Fco thanks user 'John L' in the forum message ' Controls inside Grids for Windows, Android and iOS'. 7 years ago
Fco replied to the topic 'Controls inside Grids for Windows, Android and iOS' in the forum. 7 years ago

Hi, I'm new to XE8 but maybe you can try creating a class based in TDBGrid and changing the canvas of each column to include the component you want to show in each column... I remember this was possible to do in old Delphi (ex. v7) without any problem... think it is possible now too, but wonder if it will work on the platforms you want to.

But same I wanted to leave this clue.
Read More...

DavidI is friends with Fco

Fco thanks user 'Brian hamilton H' in the forum message ' How to save user settings in Android/iOS Apps?'. 7 years ago
Fco created a new topic ' How to perform Facebook, Google+, Twitter logins?' in the forum. 7 years ago

Hi everyone,

I was not able to find clear information, code, components or similar information to do it well in Appmethod or XE8... any example around?

I need it to work for both Android/iOS under the same unique project.

Hope more than clues hopefully, TIA.
Best regards.
Read More...

Fco created a new topic ' How to save user settings in Android/iOS Apps?' in the forum. 7 years ago

Hi Everybody,
I need take the right steps in the right direction to do this with Appmethod 1.16 or XE8.

How do I supposed to implement save user settings in an Android/iOS applications? That means I need keep coding one project for both platforms.

I was looking this example, but it says only for Android:
francois-piette.blogspot.be/2014/01/tini...oid-and-windows.html

but, what is the right class/component in order to do it well done?

Thanks in Advance!
Read More...

Fco thanks user 'Sarina D' in the forum message ' TWebBrowser overlapping between other controls'. 7 years ago
Fco thanks user 'Sarina D' in the forum message ' TWebBrowser overlapping between other controls'. 7 years ago
Fco replied to the topic 'TWebBrowser overlapping between other controls' in the forum. 7 years ago

You made me think a lit bit, but I got it.
Thanks a lot! it's working.
Read More...

Fco replied to the topic 'TWebBrowser overlapping between other controls' in the forum. 7 years ago

Sarina wrote:

Hi,

I am glad you liked the tutorial. Regarding Problem 2, I would recommend having a look at this post: blogs.embarcadero.com/sarinadupont/2013/...-and-data-on-mobile/

Regards,
Sarina
Hi, I have no luck reproducing it in c++ (Appmethod) seems like SupportsPlatformService not recognizing Fmx::Medialibrary::IFMXShareSheetActionsService... I did try with this also:
_di_IInterface ShareSheetService;
ShareSheetService = TPlatformServices::Current->GetPlatformService(__uuidof(Fmx::Medialibrary::IFMXShareSheetActionsService));
And the App shows a message "Item not found."
Is that an issue or just bad code from me?
TIA.
Read More...

Fco replied to the topic 'TWebBrowser overlapping between other controls' in the forum. 7 years ago

wow, beautiful and intelligent, why don't you live next door! :P

I'll look your link as soon as I finish some test about problem 1. BTW I found a trick: community.embarcadero.com/index.php/answ...rowser-always-on-top

If you guys find another solution would be great!
Read More...

Fco replied to the topic 'TWebBrowser overlapping between other controls' in the forum. 7 years ago

I'm using Appmethod, think it is like XE8.
Read More...

Fco created a new topic ' TWebBrowser overlapping between other controls' in the forum. 7 years ago

Hi guys,

This is like follows:
- TabbedForm
- + ActionList1
- - BannerAd1
- - lstBoxMenu (TListBox)
- - - - lstBoxItem1 (TListBoxItem)
- - - - lstBoxItem2
- - - - ...
- - Toolbar1 (TToolBar)
- - WebBrowser1 (TWebBrowser)
- - AniIndicator1 (TAniIndicator)

I'm using TListBox to generar some kind of menu (more options) for the App, following this example: blogs.embarcadero.com/sarinadupont/2013/...7/463/#comment-36361
The example is simple and works great!

Problem 1: The AniIndicator1 and the lstBoxMenu are not showing off, at least I set WebBrowser1 Visible property to false. Why?? How to handle z-order maybe?

Problem 2: I used to have a TSpeedbutton with property Action set to TShowShareSheetAction working perfectly. Now I want that same functionality on the click event of one of the lstBoxItem in order to perform the same call. I didn't have any luck making it work. How to do it?

Best regards,
Read More...