Jan Blomqvist

Your Rank: 64
Points: 30
Robert B10508 is friends with Jan Blomqvist
A Mobile MultiDevice application.
I want do develop many applications with a similar look and feel, so I have assumed that making the main TabControl from a TFrame is the best way to do this. I can change graphics and colors on each separate App, but the code behind is the same.
However when the Frame is Initialized (my call), to create the TDataModule
procedure TMyFramer.Initialize;
begin
if not Assigned(MyDataModule) then [size= 12.16px; line-height: 15.808px]MyDataModule[/size][size= 12.16px; line-height: 1.3em].DataModuleCreate(self); {???}[/size]
end;
procedure TMyDataModule.DataModuleCreate(Sender: TObject);
var
SettingsFile : string;
begin
SettingsFile := TPath.Combine(TPath.GetDocumentsPath,'settings.ini');
FSettings := TIniFile.Create(SettingsFile); CRASH!!!
How should I handle the TDataModule from within a TFrame?
Thanks,
Jan
Read More...
Has anyone successfully deployed an AdHoc App using the 'wireless distribution model'? So that the test user only has a link on a webpage to download the App.ipa. I have found this site (http://www.diawi.com), but I am not sure what they mean by ‘provioning profile file’, which is the ‘provisioning’ file in the Embarcadero release folder? ...
Thanks Paul! Any chance you might share some of that code.? How to copy a form to an Image. How to use an animation for the Flip transition. The sample code (even though its using D.P.F) might reveal how I should do it? Jan...
How can I accomplish other Transition effects when changing Tabs (to the user more like change form). I want: Flip (like turning around and showing the backside) SlideUp, SlideDown I guess that some kind of animation should be used, but I need examples. And the same when changing between forms (Flip, SlideUp, SlideDown). Thanks Jan...
Hello Luis, It did'nt work in my scenario. Is there a place were we can exchange files (test project)? Kind regards, Jan...
Sarina: I would like a routine that calculate the Item height based on font and real text(character) height. Any technician at Embarcadero that could give you a hint how that should be solved? Luis: Yes, it works ok in Windows, but on my iPhone 5 it calculate wrong, so all the text is not do not fit in the reserved height. And I do not know ...
MakeTListViewItem change the height depending on text length. How can aTListViewItemautomatically change its height so that all text in Text or Detail can be shown in the Item. I have found one example here, but it does not work for me: http://www.dfwlt.com/forum.php?mod=viewthread&tid=1796 Link ...
It worked when the database file is added using Project -> 'Add to project'. The Deployment is then automatically and correctly filled in for both IOS and Android. Instructions here:http://docwiki.embarcadero.com/RADStudio/XE7/en/Mobile_Tutorial:_Using_FireDAC_and_SQLite_(iOS_and_Android) Read section under: "Setting up Your Databas...
It seems deploying database files (SQLite) to Iphone (IOS 8.1.2) fails to include the database file. I have also tested to include a simple text file, but it is not found on device after deployment. The App works fine on Windows, but not on IOS. In FDConnection.BeforeConnect() S := TPath.Combine(TPath.GetDocumentsPath, 'Employees.db'); if ...