Lazarus - No Form Window, Dialogue Grey'd Out [closed] - pascal

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I've got a wee bit of experience with Pascal, as I've used it to create mods via TES5Edit for Skyrim, and I've hit a wee snag with modding Dark Souls, and I figured flexin' me Pascalerrific muscles would be a good exercise.
But, uh, it's all buggered right from the get go. Lazarus supposedly has this "Form Window" feature, where ya can just click one of the icons and then click on the IDE, and bam. Automated GUI creation.
I ain't got that. The window isn't up, and the option to open it is grey'd out. 'Eres an image to demonstrate:
'Ere 'tis, lads.
Bit sad that, right from the get go, I'm flummoxed. LEND ME YO' EARS, MA HOMIES! A BROTHA NEEDS AID!
Achem So, uh, what do I do to enable it? Google gives absolutely nothing in regards to using Lazarus in pretty much any way, so that bridge wasn't even built 'afore it was burnt.

You have to click on "File -> New Form" in the menu to create a new form class.
If that menu entry is disabled as well, first create a new project and make sure to select "Project > Application"

Related

Creating a Downloadable Microsoft Outlook Task [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 months ago.
Improve this question
Is it possible to have a Microsoft Outlook task that a person could download from a website and open in Microsoft Outlook and then assign to another person?
When I've tried saving a task as a file it won't let me assign it when I open it.
You can create VBA macro or just automate Outlook from your application to get the job done. The Outlook object model provides all the necessary properties and methods for that.
After an Outlook item is downloaded you can use the Application.CreateItemFromTemplate method which creates a new Microsoft Outlook item from an Outlook template (.oft) and returns the new item. New items will always open in compose mode, as opposed to read mode, regardless of the mode in which the items were saved to disk. Read more about that in the How To: Create a new Outlook message based on a template article.
Also you can try using the OpenSharedItem method which opens a shared item from a specified path or URL. This method is used to open iCalendar appointment (.ics) files, vCard (.vcf) files, and Outlook message (.msg) files. The type of object returned by this method depends on the type of shared item opened, as described in the following table.
Finally, keep in mind that Outlook is a singleton which means only one instance of the Outlook application can be run on the system. Whatever you run for opening in Outlook you can handle the NewInspector event which is fired when an item is opened in Outlook.

In lazarus is there a way to maximise the console using code [duplicate]

This question already has answers here:
How to minimize console window?
(2 answers)
Closed 3 years ago.
I'm using lazarus, I want to try make the console window maximised, I already have code to change the properties, but I would also like to be able to maximise the window in the code as well.
Okay, thanks for the advice, I figured it out,
I used the answer from How to minimize console window? changing the code from:
ShowWindow(GetConsoleWindow(), SW_MINIMIZE);
to
ShowWindow(GetConsoleWindow(), SW_MAXIMIZE);
which seemed to do the trick. Simple but it hadn't even occurre to me to try it before now.

Conduit Search was inadvertently installed and now my Firefox displays a Bing page rather than a 404 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
This was inadvertent on my part. I was installing a DivX upgrade and the "Install blah blah" checkbox (I only got a quick glance) was checked by default - on Mac OS, certain windows and application can steal my "focus" away from me so if I hit ENTER while I'm in, say TextWrangler, but the installer window steals my focus just before I hit ENTER and the "Install Conduit Search" is already checked, well, this add-on gets installed before I can stop it from happening! I hate that behavior on Mac OS passionately.
Now, I'm trying to remove it. Mostly because I hate the fact that Bing appears all over the place. I hate Bing, too.
Anyway, I followed instructions here: https://support.mozilla.org/en-US/questions/713710 and here: http://community.conduit.com/Community/Forum/Community-Toolbar.aspx?threadid=35114 but about:config doesn't contain anything, nor does "Add-ons", Extension, or Plug-ins...nor does /Library/InputManager/
Right now, I have removed all traces of Bing and Conduit found in "Manage Search Engines" and anything in about:config, but a 404 page still redirects to the "Whoops! The page could not be found. Try giving it another chance below." and at the bottom of the page, it says "Why did I get this page?". When I click on "Why did I get this page?", it tells me because I installed "Community Toolbar", which I guess I did, but I see no signs of it what-so-ever. The Plugins and Extensions settings for my Firefox do not contain anything that I'm not familiar with and most certainly don't contain anything about Conduit or Community or even Toolbar for that matter. If I go to "View" > "Toolbars", the only thing listed there is "Navigation" and "Bookmarks". There is an "Add-on Bar" but when I enable/disable, it appears to only be for my 1Password App.
I am stumped. I like to keep my browsers lean and mean and not install any of this crap. I'm not sure why I chose to install DivX in the first place but that's another lesson for another day.
The goal at hand is to get rid of this Conduit/Bing crap. Conduit's customer service is pretty non-existent, as expected.
The only sign that it exists is when I go to a URL and get a 404 page, it takes me to search.conduit.com rather than just a 404 page. In about:config, there is a "alternate_error_page" key listed but its value is "blocked", meaning "about:blocked" is how you see why a page was blocked.
I don't know where else to turn. Please help!
I also needed to delete the file
/Applications/Firefox.app/Contents/MacOS/browser/MACSearchTakeOver.js
I found it!
Here: /Applications/Firefox.app/Contents/MacOS/searchplugins/
There is a file called Conduit Search.xml. I deleted that and my browser is now 100% back to normal.
Geoffrey's answer is final missing piece. I was still getting conduit search page when I go to 404 page on a web site until I found his answer. Thanks. You save my day.
And the culprit of it is DivX installer on Mac. If you just installed it and having stuck with this Devil, be sure to check out this page to remove it. http://forums.divx.com/divx/topics/bing_search_page_appears_when_opening_a_new_tab_window_on_firefox_macos
Open your Firefox browser and type “about:config” in address bar
Now you can see a list of items “Preference Name” and its values. Now type "search” in the filter box on top of that window...
Check all strings contents as "CONDUIT" - and rightclick-reset..
Removing /Applications/Firefox.app/Contents/MacOS/browser/MACSearchTakeOver.js and /Applications/Firefox.app/Contents/MacOS/searchplugins/Conduit Search.xml did not fix the conduit search from appearing on new tabs for me.
What finally fixed it for me was clicking "Restore" in the bottom left of the offending page.

Firefox Open a new tab instead of a pop window? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I found that in recent version of Firefox, there was add a setting called "Open new windows in a new tab instead".
When I keep it on, all the pop windows(Using javascript "window.open" function opened) opened in a new tab, which I realy need opened in a pop window(With settings like "menubar=no" and etc.). Some normal links with "target="_blank" attribute will open in new window if I keep it off.
So, is anyone here knows whether it's a bug or maybe I mistake someting?
Thanks.
I was having the same exact problem, but only with Firefox (3.*+) after a certain date and only on my Mac (Windows machines worked fine). Finally, I used the guest account on my Mac and saw that Firefox worked properly, so I tried disabling all extensions, to no avail. Finally, I manually searched through the about:config properties for anything that looked suspicious or non-default. As it turns out, I think I must have installed an extension that tweaked the browser.link.open_newwindow.restriction property to 0 (instead of the default of 2) - once I changed it back, all was well. See the following for a thorough explanation of this property - which seems to be unexposed through Firefox's other tab/popup/window UI options:
http://kb.mozillazine.org/Browser.link.open_newwindow.restriction
For future searchers who find this question, there is a setting that you can toggle that opens all new windows in a new tab in Firefox.
Firefox Menu>Options>Tabs>Open new windows in a new tab instead - and un-check that check-box.
Switching between browsers for testing, I didn't realize there was that setting.
I know what you mean, but see the link below:
Firefox Support / Knowledge Base / Options window - Tabs panel
It writes:
If you have chosen to open pages in new tabs, Firefox will ignore this optionpreference and will open a new window from a link if the page author specified that the new window should have a specific size, because some pages can only be displayed correctly at a specific size.
I mean, Firefox does not ignore my preference when I open those links created by javascript "window.open" scripts.

Windows7 explorer context strip hook?

Hy everybody,
I'm wondering if it's possible to add a new button via C++ or C# to windows 7 explorer "context strip"(don't know if this is correct name) - like on picture below.
My reason for this is because a lot of times I'm switching on&off "Show hidden files, folders and drives" functionality under Tools->Folder option->View. Therefore i want to simplify this process with a click of a button.
I was looking into ShellExecteEx function, but I am not sure I can do that. Can Anybody direct me in right direction?
thanks,
regards
I highly recommend using AutoIt for this task. Second URL comes complete with examples of how to insert buttons in various programs - however, be sure to read complete topic for misc. updates to the provided code.
See:
http://www.autoitscript.com/forum/index.php?showtopic=9517
Btw: I misread topic to begin with; gui 'context' related material in Windows is often taken to deal with right-click menus
Edit: limit on urls for new users on Stack Overflow mean I had to cut out some of less essential links - google away.
To answer part of the question, I think it is possible as for quite some time we've seen small programs to add a "New Folder" button to the explorer. I think those still works with Win 7.
Look at http://tools.tortoisesvn.net/StExBar for example
[Edit] Forgot to clarify that Source Code for StExBar is on Google Code

Resources