Any free shaped button components available? [closed] - delphi

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I recently downloaded the source to an "open source" project that unfortunately has dependencies on a bunch of expensive proprietary libraries, including Infopower 1stClass, which it seems to use primarily for TfcShapeButton, a component that acts like a standard TBitBtn, except that you can give it an arbitrary polygonal shape by describing a list of points. The DFM code looks like this:
PointList.Strings = (
'8,29'
'18,19'
'28,29'
'20,37'
'16,37')
I'm trying to clean this project up and make it look like a real open-source project that anyone can download and build without having to shell out hundreds of dollars for component libraries, but I'd like to change the look and feel as little as possible. So does anyone know of an open-source shape button component like this that will work with D2009 and up?

this piece of code does exactly what you need.
const Points: array [1..5] of tPoint = (
(x:8;y:29),
(x:18;y:19),
(x:28;y:29),
(x:20;y:37),
(x:16;y:37) );
begin
SetWindowRgn(Button2.Handle, CreatePolygonRgn(Points, 5, WINDING), True);
end;

Mason, a much better way of making a shaped button is to have a mask for it.
The component that does that should be here: http://www.delphi-jedi.org/

Related

Is there any document(doc,docx) editor available in javascript? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Can any one suggest me any library in javascript(client end) document editor where user can view and edit the documents like doc, docx, odf etc.
I have tried webodf but it doesn't support doc/docx. Also, it's not getting implemented properly as editor.
Any suggestions are welcome.
Your best bet is to look for converters, and then edit the converted content.
I've been looking for a working solution now for a couple of weeks, and the best I've found to date is docx2html.
Depending on your development platform you might also want to Google 'ONLYOFFICE Document Server Community Edition'. They have in page editors for Word, Excel and Powerpoint - but they're asp. It's an open source platform and available on Github. Might be worth a look though.

Need example of a left slide-out menu that doesn't use ARC (Objective-C) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am updating an older massive project (circa 2010) that is NOT using ARC. All the examples I have found use ARC. Xcode will convert the project to use ARC but after the conversion, I have about 300+ red errors. With that in mind, it is easier to keep the project the way it is and add a slide out menu without using ARC. i just need an example to pull from. Thanks
You may want to simply find example you want and follow old memory management rules (retain-release) to convert ARC code to not ARC. if you have problems with understanding how to use MMR (manual memory management) i recommend you to read tutorials. For example you can read that: http://rypress.com/tutorials/objective-c/memory-management

recommend a shape recognition library for the example image [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed last year.
Improve this question
I need to find some library(can be commercial) to detect the rectangle shapes from pictures like this one:
What libraries do you think they can do the job?
Also, I know there are many algorithms in image processing, which one you think can do this?
Thanks!
A quick attempt with Mathematica 8 produced this solution. It would be easy to play around some details.
Create a binary mask of the black ink, and then remove the small components (the digits):
binary = Binarize[img, .5];
bclean = ColorNegate[DeleteSmallComponents[ColorNegate[binary]]];
Now compute the connected components and remove the background component:
comp = DeleteBorderComponents[MorphologicalComponents[bclean]];
I assessed the result visually, using the command Colorize[comp].
From there on, the command ComponentMeasurements would get you to further analysis of the blobs you are interested in (cf. http://reference.wolfram.com/mathematica/ref/ComponentMeasurements.html).

Free delphi skinning library? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Does anybody of you know a good, free delphi skinning library for my software? I can't find any free libraries except for AlphaControls Free.
Thanks in advance.
TBX still seems to be pretty popular.
http://code.google.com/p/tbxlib/
I've used it in the past. It's simple to use, it doesn't get in the way, and it's pretty lightweight.
XPMenu is even easier to use. All you have to do is drop the TXpMenu component on your form, and your whole application will have a new look. It replaces the painting of standard controls, and it recognizes many types of controls. If you don't want to use it anymore, you just remove the component (and the unit from the uses list).
Over the years I've changed my opinion on skins though. They usually degrade usability (things don't look and work the way users expect) and even flashy looking skins will look very outdated in a couple of years. I think it's best to let the OS decide how graphic controls should look.
SpTBXLib is an expansion package for TB2K components that adds unicode support and skinning and other features:
http://www.silverpointdevelopment.com/sptbxlib/index.htm

Spin Control in Delphi [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I want to use a "spin button control" (also known as an up-down control) in my Delphi Win 32 application (I'm using Delphi 2007).
The aim is to have a control that looks like in Microsoft Office:
image of up/down control in Powerpoint. http://img167.imageshack.us/my.php?image=updownzn8.png
I found this on the Microsoft website: CSpinButtonCtrl Class
But I haven't so far found a control that uses this class - here's where I've been searching:
The SpinEdit control in Delphi looks well... not so good, and doesn't seem to use the official Microsoft control
The JVCL classes have their own implementation
A Google search did not return any results (except some home-brew up/down controls)
I couldn't find something in the Jedi API as well
Can somebody please point me to where I can find a Delphi implementation of the common spin control from Microsoft, or how I can do that myself?
Have a look at TUpDown. It wraps the Win32 control.
Raize Components Raize.com have a nice one
TMS Software do a wide range of components including spin edits (fancy an iPhone style one!) and I have found their support through the newsgroups to be excellent.

Resources