Mohammed Nasman
-
Posts
340 -
Joined
-
Last visited
-
Days Won
19
Content Type
Profiles
Forums
Events
Posts posted by Mohammed Nasman
-
-
رمضان كريم، وكل عام وأنتم بخير
- 2
-
Unfortunately, didn't work
-
Hello,
I'm trying to use Sweetalert library to show better alerts, but when I try that, it became behind the form, as following:
function click(sender, e, eOpts) { swal("Good job!", "You clicked the button!", "success"); }
I'm using build 1421 -
But as I saw, starting mobile app will show only mobile layout, or can I adjust it to build desktop too?
-
Hi Farshad,
I'm not sure yet, if we can use one toolkit (Modern or Classic) to work on both platforms(Mobile or Desktop) as I saw on latest trial (build 1450) when start project as mobile, you have the layout of mobile, and you star with classic, the mobile view isn't good fit.
so the question, if I want to start new project that fit the two platforms(desktop & mobile) what should I use, and how to work with them properly?
-
I think we should have demo like this ;-)
-
Very nice
BTW, they website is off now, it says "Secure Connection Failed".
-
The current version isn't built with Unigui, it has asp for pages, but if you look at html source, you will be sure it's not built with Ungui neither extjs
-
Some time ago I started creating some demos showing how to migrate from Delphi VCL to uniGUI.
You can find some of them in BitBucket
David
That's really great one David, Thanks for your effort.
If you want to create it as a real Book, I will BUY It
- 1
-
I wish I was 32 again !
But I am $32 = dec 50 = bin 110010
You still young even with $ :-)
I'm 51 OCT ;-)
-
I am $32 years old.
I started my journey in programming with BP somewhere around 1987...
And almost 27 years from my 1st project on Windows 3.0 with Turbo Pascal for Windows...
Wow, so you wrote your first project when you were 5 years old :blink2:
-
If I'm not wrong, ExtJS 6 make developing responsive design is easy, and I think Farashad said he will add this feature later after finish the ExtJS migration from 4 to 6
-
I did notice those yes, they're ideal, just having trouble finding an example on how to do the checks and implement that with encrypted passwords. Still reading on that. I'm using user and passwords saved in a table, they're plaintext at the moment but I'd like to use the password as encrypted somehow, not to save it plaintext.
You can use System.hash to hash passwords, as:
uses System.Hash; .... MyHashedPassword = THashSHA2.GetHashString('MyPassword',THashSHA2.TSHA2Version.SHA256)
so you can store it to database as hashed, and when user login, you will hash the password and compare it to the one on database, and for more secure, please follow what Delphi Developer suggested.
-
Have you looked at the Demo folder, there are two demos:
- LoginForm
- LoginForm Cookies
Now these demos aren't related to authenticate users from database, but it's not hard to change that to check from database, are you using database users, or users stored on table?
- 1
-
+1, I'm 41, glad to see devs who below 30 and using Delphi
-
I used it for two days, then switch back to normal Delphi theme, it made the IDE slower, specially when navigating the code, and got many times freezing, when uninstall it, everything back to normal.
-
PDF is a better to get the concept.
while Video is better to get used how to do things quickly
So both are good, and if you did both it will be great
BTW, layout with extjs driving me crazy, plz do it ASAP.
-
There's another project from Free Pascal team, with RTL written in JS
http://wiki.freepascal.org/pas2js
There is a basic Object Pascal RTL, several units from the FPC Packages are also available
- system
- sysutils
- Math
- strutils
- rtlconst
- classes
- contnrs
- DB (yes, TDataset)
- fpcunit testsuite
- custapp
- restconnection
- js (javascript system objects)
- web (browser provided objects)
- libjquery (jquery is available too)
- nodejs (basic node runtime environment)
- typinfo
- objpas
- browserconsole (support writeln)
- dateutils
- browserapp
- nodejsapp
-
I have modified the title of the post, because the older was not clear.
-
Hi All,
I have multiple projects that share same images, I can view images without problem giving the physical path to the UniImage.
The only problem I have with event OnFieldImageURL isn't accepting the physical path, it's convert any path to full URL with the path giving, which lead to not viewing the image.
for example using GridImage Demo:
if (Column.Tag = 255) and SameText(AField.FieldName, 'shift') then begin if AField.AsBoolean then OutImageURL := 'files/sun.jpeg' else OutImageURL := 'files/moon.jpeg'; end;
Changing any OutImageURL to looks like this:
OutImageURL := UniServerModule.StartPath + 'files/moon.jpeg';
it will be converted on runtime to the following
This can works fine with
TuniImage.picture.Loadfromfile(UniServerModule.StartPath + 'files/moon.jpeg');
Is there any way to override this behavior of OnFieldImageURL?
Regards,
Mohammed
-
I'm not good at Android development, but if I'm not wrong, when you rotate the phone, the activity recreated, and that cause it to reopen the link again so switch to the login screen.
it may require you to save state for the activity, so it will resume it, or if there's something to prevent the activity to not be created when rotating the phone
-
Did you try to look at the log file?
-
حياك الله ابو ريان
نورت الفورم
ابو ريان من سوريا
يا حي الله بالجميع
-
Delphi Developer, Thank you very much, that's did it :D
DeliveryTech. new app launched !
in Sample Projects
Posted
Amazing work