20160115 Learning Log

Source: Internet
Author: User

1. About: InputBox, because Android does not support Showmadle. FMX. Many of the window functions in dialogs cannot be used directly. To be modified to pass through a stored procedure as a method

Like what:

InputBox (' New unit ', ' cell name ', ',
procedure (const aresult:tmodalresult; const avalue:string)
Begin
StrName: = Avalue;
Add a unit
If StrName <> ' then
Begin

If tdirectory.exists (Fdypath + Tpath.directoryseparatorchar + strName)
Then
ShowMessage (' unit [' + StrName + '] already exists, please delete and then create! ')
Else
Begin
Tdirectory.createdirectory (Fdypath + Tpath.directoryseparatorchar
+ StrName);
Readdy;
End
End
End);

2. With respect to the path, it seems that the creation system cannot create a file under the root directory, which may be a permissions issue that needs to be addressed.

20160115 Learning Log

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.