logo
down
shadow

Delphi layout manager/ form builder opensource?


Delphi layout manager/ form builder opensource?

By : Egi Chielarck
Date : October 17 2020, 11:12 PM
hop of those help? Project JEDI's JVCL free and open source component library includes a sort of a replacement, even that is maybe not as good as DevExpress one, but it has it's own good advantages. Is called "Jv Runtime design" and is installed within the standard JVLC setup (search for the components in the toolbar of the same name in the palette).
If you had never installed JVCL, note that you have to install JCL (Jedi Class Library before JVCL as this is a prerequisite) Look for the JVCL download zip file that includes the corresponding JCL package.
code :


Share : facebook icon twitter icon
Default File Layout in C++ Builder (and Delphi)

Default File Layout in C++ Builder (and Delphi)


By : Jane Jee
Date : March 29 2020, 07:55 AM
wish of those help See "Adding Items to the Object Repository" in the help file.
Basically, 1. Create the unit file(s) as you wish 2. Go to Project -> Add to Repository 3. Add information. 4. It will be available from the File -> New... area
Cancel / abort creating a new form in Delphi / C++Builder?

Cancel / abort creating a new form in Delphi / C++Builder?


By : Jason Dou
Date : March 29 2020, 07:55 AM
With these it helps You can always call Release in the OnCreate handler, but that will lead to the form quickly appearing and then being closed. Not a very professional thing.
So here's another idea. Let the forms have a public function or property to return whether they are in fact to be shown. Then where you would usually have
code :
TheForm := TSomeForm.Create(Self);
TheForm.Show;
TheForm := TSomeForm.Create(Self);
if TheForm.ShouldAppear then
  TheForm.Show
else
  TheForm.Release;
Online Java GUI Builder? At least Layout Manager

Online Java GUI Builder? At least Layout Manager


By : Fredguapo
Date : March 29 2020, 07:55 AM
it fixes the issue WindowBuilder for Eclipse is phenomenal. One of the things that awesome about it is that you can hand modify its' generated code and it will pick that up without a problem.
What do you mean by an online GUI builder? If you want one that's a webapp, it's not likely you're going to find one.
calling C++ builder XE Form from delphi code

calling C++ builder XE Form from delphi code


By : Pathuri Lavanya
Date : March 29 2020, 07:55 AM
should help you out I've found an easy and practical way of doing it, kinda ugly but works!
Trick is to get form by iterating thru all forms with Screen.Forms object. I've set TAG property for my form to a predefined number just to get an easy id of it.
code :
MyForm->Tag=9999; // easy way of Iding my form
procedure TExceptionDialog.SendBtnClick(Sender: TObject);
var
   i: integer;
   form: TForm;
begin
  for i := 0 to Screen.FormCount-1 do // all forms
  begin
    form := Screen.Forms[i]; // get a form
    if(form.Tag = 9999) then // check if its my form
    begin
      form.ShowModal; // if its mine, call showmodal
      break;
    end;
  end;
  ModalResult := mrOk;  // return to my app
end;
What are the different builder widgets(Future Builder, Stream Builder, Layout builder, Listview Builder) in Flutter.?

What are the different builder widgets(Future Builder, Stream Builder, Layout builder, Listview Builder) in Flutter.?


By : user2755226
Date : March 29 2020, 07:55 AM
I hope this helps you . A FutureBuilder behaves identically to a StreamBuilder configured with future?.asStream(), except that snapshots with ConnectionState.active may appear for the latter, depending on how the stream is implemented.
A StreamBuilder can be used with data of Firebase, Sensor Events and Network Connection status
code :
@override
  Widget build(BuildContext context) {
    return Container(
      child: FutureBuilder(
        future: getPosts(),
        builder: (_, snapshot) {
          if (snapshot.connectionState == ConnectionState.waiting) {
            return Center(
              child: Column(
                mainAxisAlignment: MainAxisAlignment.center,
                crossAxisAlignment: CrossAxisAlignment.center,
                children: <Widget>[
                  Text("Loading..."),
                  SizedBox(
                    height: 50.0,
                  ),
                  CircularProgressIndicator()
                ],
              ),
            );
          } else {
            return ListView.builder(
              itemCount: snapshot.data.length,
              itemBuilder: (_, index) {
                return ListTile(
                    title: Text(snapshot.data[index].data["title"]),
                    onTap: () => navigateToDetail(snapshot.data[index]));
              },
            );
          }
        },
      ),
    );
  }
@override
  Widget build(BuildContext context) {
    return Scaffold(
        body: Container(
        child: StreamBuilder<QuerySnapshot>(
          stream: Firestore.instance.collection("posts").snapshots(),
          builder:
              (BuildContext context, AsyncSnapshot<QuerySnapshot> snapshot) {
            if (snapshot.hasError) {
              return new Text('Error: ${snapshot.error}');
            }
            if (snapshot.connectionState == ConnectionState.waiting) {
              return Center(
                child: Column(
                  mainAxisAlignment: MainAxisAlignment.center,
                  crossAxisAlignment: CrossAxisAlignment.center,
                  children: <Widget>[
                    Text("Loading..."),
                    SizedBox(
                      height: 50.0,
                    ),
                    CircularProgressIndicator()
                  ],
                ),
              );
            } else {
              return ListView.builder(
                itemCount: snapshot.data.documents.length,
                itemBuilder: (_, index) {
                  return Card(
                      child: ListTile(
                          title: Text(
                              snapshot.data.documents[index].data["title"]),        // getting the data from firestore
                      ),
                   );
                },
              );
            }
          },
        ),
      ),
    );
  }
shadow
Privacy Policy - Terms - Contact Us © bighow.org