376

(4 replies, posted in General)

You can try the New Record Action on the Clear Button.

377

(2 replies, posted in General)

We handle this thing using ALPHABLEND. I attached a sample program. Hope it helps.

378

(2 replies, posted in General)

Good Day MVD Wizards.

Does anyone know how to add label to polygon via script?
I have this snippet here but Polygon.LabelText is not working.
I can't find a list of property that can be used for the TPolygonItem.

while not Results.EOF do begin
    if number <> Results.FieldByName('number').AsInteger then begin
        if PolygonItemRegion <> nil then // create/add
            frmMain.Map1.CreateMapPolygon(PolygonItemRegion.Polygon);

        PolygonItemRegion := frmMain.Map1.Polygons.Add;
        PolygonItemRegion.Polygon.LabelText := 'I WANT TO SHOW THIS LABEL';
        PolygonItemRegion.Polygon.BackgroundColor := bColor;
        PolygonItemRegion.Polygon.BackgroundOpacity := bOpacity;
        PolygonItemRegion.Polygon.BorderColor := clLime;
        PolygonItemRegion.Polygon.HoverBackgroundColor := clWhite;
        PolygonItemRegion.Polygon.HoverBorderColor := $000080FF;
        PolygonItemRegion.Polygon.BorderWidth := 1;
        PolygonItemRegion.Polygon.Tag := -1;
    end;
    number := Results.FieldByName('number').AsInteger;
    PolygonItemRegion.Polygon.Path.Add(Results.FieldByName('lat').AsFloat, Results.FieldByName('lon').AsFloat);
    Results.Next;
end;

379

(12 replies, posted in General)

brian.zaballa wrote:

Nice feature on the ability to create user and role. Can you add option/module for the users(non-admin) to update their own password? And is it possible to have user(non-admin again) to access or update other user(non-admin)?  Hierarchy being

Admin(super admin, currently the admin)
UserAdmin(user admin thar can access and update other non-super(admin) users)
User(regular user that can only update their password)

Thank you and nicely done MVD team.

My bad, I've read thoroughly the post and the functions I'm looking is on the development stage and will be added soon(as said). Can't wait for the update on this one. This saves time coding for the roles.

380

(12 replies, posted in General)

Nice feature on the ability to create user and role. Can you add option/module for the users(non-admin) to update their own password? And is it possible to have user(non-admin again) to access or update other user(non-admin)?  Heirarchy being

Admin(super admin, currently the admin)
UserAdmin(user admin thar can access and update other non-super(admin) users)
User(regular user that can only update their password)

Thank you and nicely done MVD team.

381

(4 replies, posted in General)

Wow! That zIndex solves the problem.
You are a life saver Dmitry.

Thanks much Drivesoft.

382

(4 replies, posted in General)

DriveSoft wrote:

Please attach your project. I will check.

Thanks for the fast reply.
Here, i made some sample of the code.

383

(4 replies, posted in General)

Good Day Wizards. I'm having problem on rendering Routes and Area.
Some of the routes seems fine (overlapping the area) but there are times other routes don't.
I am rendering maps(area, route and marker) via script. I already tried loading all routes after loading area but the result is the same.
Is there any way to correct this
Markers must overlap routes, and routes must overlap area.
Thanks in advance

384

(2 replies, posted in General)

DriveSoft wrote:

Hello.


Form not close because in the setting of Save button on f1 form you have unchecked checkbox "Close the current form after saving"


What exactly you want to do using dbDontResetID property?

I intentionally unchecked it. I don't want form to close right after saving. The problem is the adding of child for the new record for f1 right after saving the new record.

385

(2 replies, posted in General)

Good Day Wizards.

Can anyone help me in this problem?
I'm having hard time on Form (not close when saved)

Problem Occurred when:
1. Add New Item from Main
2. Enter Data Field1, FIeld2
3. Click Save
4. Click Add Child
5. Enter Data Field3
6. Click Save

Other process is OK Like, Edit, or clicking Add Child before clicking Save from Form 1

Thanks in Advance.

386

(187 replies, posted in General)

Radio button too will be great.

Good Day,

Can anyone enlighten me on my problem? I need a function or property of Grid to determine the Total Record Found(Filtered, not the total record in the table). I'm working with Offset/Pagination Grid

e.g.
I have 1 million records paginated by 100's

Then, for example: filtering the grid with bunch of filters, I want to know the total filtered record (say for example, the filtered records are 500,110). Is there any simple way to do or get the 500,110 without executing query? My filters consist of at least 50 filters., It is so hard to generate query from it.

Thank you in advance.

388

(11 replies, posted in SQL queries)

Any update on this? I'm on the same page with thezimguy.
I need to show the filtered record but I don't know what function to use.
It is also tedious work to query all filters just to show the total number of filtered record.
I have here a json on one of my PHP project.
Filtering the 4804 record, then paginating the filtered record (199) by 10.
I want to know if there's an existing function to use to get the recordsFiltered on the grid.
Thanks in advance.

389

(1 replies, posted in General)

Good Day!

Is there a way for me to comment couple/several of lines with just a shortcut e.g. Ctrl+/ after selecting the lines?

Thanks in advance

390

(2 replies, posted in General)

Thank you Dmitry.

391

(2 replies, posted in General)

Good Day!

I'm having trouble in report with filters  >, >=, < and <=. Other filters are working fine such as =, <>, etc.

Attached here is my sample.

Thank you.

PS: I'm using version 5.0