The appellant, The Smalleylogics Corporation, filed its complaint against the ap-pellee, Dade County. The complaint was on the equity side of the court and prayed for a decree adjudging certain resolutions of the Zoning Appeals Board and the Board of County Commissioners of Dade County, to be void and unconstitutional. It was alleged that the resolutions unreasonably and unlawfully attempted to nullify a previous non-conforming zoning use applicable to property of the plaintiff. Specifically, the purpose of the complaint was set forth in a prayer that the circuit court issue a permanent injunction against the officials and agents of Dade County retraining them from interfering with the operation of the non-conforming use. In this connection it was alleged that the County threatened to terminate appellant’s non-conforming use by a resolution passed by the Board of County Commissioners.
The appellee County filed a motion to-dismiss the complaint on the following grounds:
“1. The complaint fails to state a cause of action upon which relief may be granted.
“2. The complaint fails to join indispensable party or parties.
“3. Plaintiff has misconceived his-remedy, if any he has.”
The motion to dismiss was denied. Thereafter answer was filed setting forth affirmative defenses, and an extended trial- of the issues was had.
At the conclusion of the trial and after further argument, the trial court entered the order which is here appealed. The preamble of the order reads as follows:
“THIS CAUSE having come on to-be heard for final hearing and the Court, after trial in this cause, having reconsidered the defendant’s Motion to Dismiss and being of the opinion that the same is well taken and that *576 the Court should have granted said motion * * [Emphasis supplied]
Thereupon the court dismissed the complaint with prejudice to the plaintiff. The plaintiff brought this appeal and we affirm the decree.
The parties to this appeal agree (and it is apparent from comments of the trial judge which are contained in the record) that the basis for the trial judge’s order dismissing the complaint was his conclusion that the plaintiff had misconceived its remedy. We are doubtful that the order of dismissal could be sustained upon this ground. Nevertheless, we proceed to other matters presented on this appeal because' of the often expressed principle that the order of a trial judge will be sustained on appellate review if it is correct, even though upon a ground other than that given by the trial judge.
We think that the order appealed must be considered an order on the pleadings and as such, the record before us consists only of the complaint, the motion to dismiss and the order appealed. The motion to dismiss contained, as above pointed out, the ground that the complaint failed to state a cause of action. It is upon this ground that the complaint was properly dismissed.
The complaint and the exhibits attached thereto set out a history of Dade County Zoning as related to the 39 acres of land owned by appellant. This land has on it a private airport for small planes now known as “Aero Country Club” and formerly known as “Browns Airport”. The facts alleged may be summarized as follows. There are two plots of land involved. The first is 30 acres, and the second is 9 acres, in extent. The 30 acre tract has been uninterruptibly used as an airport for the past 30 years. It was used as an airport prior to the establishment of zoning in Dade County and therefore constituted, after the adoption of the zoning, an existing or non-conforming use. The second parcel of 9 acres was at the time of the adoption of Dade County zoning being used for agricultural purposes. This use was in conformity with the plan adopted by the County.
In 1954 appellant’s predecessor in ownership made application to the Board of County Commissioners of Dade County for a special variance permit to allow him to enlarge the airport by using the additional nine acres for airport purposes. It was only by procuring such a variance that the then owner could expand his airport operation. In his application for the variance (which is attached as an exhibit to the complaint) the then owner certified that the granting of his application was necessary in order to eliminate a danger in the operation of the airport. Later an amendment to the application for zoning variance was filed. (This amendment is also attached to the complaint.) In the amendment the owner specified that: (1) the operation of the airport would be such that only aircraft with power ratings of less than 600 horsepower would ordinarily use the airport; (2) no new buildings would be constructed without a special permit; (3) the property subject to the 'zoning variance would not be used to train government contract students.
Upon this application the County Commission passed the resolution which is the basis of this appeal. The resolution granted the variance as to the nine acres and continued the non-conforming use on the 30 acres upon certain conditions.1 One of *577the conditions was that night flying would be strictly prohibited.
On August 9, 1963, the Director of the Dade County Planning, Zoning and Building Department filed an application requesting that the Aero Country Club be required to show cause before the Zoning Appeals Board why Resolution 8452 should not be cancelled because of a violation of the conditions imposed in Resolution 8452. The application was based upon the following charges:
“1. Failure to discontinue night flying at the airport;
“2. Permitting night flying at the airport ; and
“3. Failure to maintain the operation of the airport in accordance with the terms and conditions of Resolution 8452 * *
On September 17, 1963, pursuant to notice and following hearing, the Zoning Appeals Board adopted Resolution 2-ZAB-486-63, declaring that the special permit authorizing the airport use and Resolution 8452, be amended so that no certificate of use and occupancy should be issued for any airport operation after October 17, 1964. It also interpreted night flying to mean flying between the hours of sunset and sunrise and required that a full time night watchman be employed. The resolution of the Zoning Appeals Board was appealed by the Zoning Director and certain residents to the Board of County Commissioners. After public hearing, the Board of County Commissioners adopted Resolution Z-160-64, overruling the decision of the Zoning Appeals Board and directing that all permits authorizing an airport use on any and all portions of the airport, including the total 39 acres, be cancelled immediately. By a subsequent resolution the appellant was given until August 1st, 1964, to “phase out” its operation.
The gist of plaintiff’s complaint is that it has a substantial vested property right in the non-conforming use for the 30 acre tract and that therefore the action of the Board of County Commissioners can only legally apply to the nine acre tract.
*578We hold that this position is untenable on the bill of complaint and the exhibits attached thereto. The conditions of the 1955 resolution clearly show that they are not confined to the nine acres but apply to the entire airport. For example, the condition as to night flying applied to the whole airport, not merely to the nine acres. Appellant’s predecessor had a nonconforming use which he converted into a conditional non-conforming use or variance in order to expand his operation. Having used the airport as expanded subject to the conditions, he cannot now claim that he can violate the conditions without forfeiting his right to the conditional nonconforming use. Cf., Edmonds v. Los Angeles County, 40 Cal.2d 642, 255 P.2d 772; State v. Farmland-Fair Lawn Dairies, Inc., 70 N.J.Super. 19, 174 A.2d 598.
Having determined that the complaint was properly dismissed because it failed to state a cause of action we need not consider appellant’s second point. We do not consider appellee’s cross assignment of error directed to a post decretal order because the cross assignment could have no effect except for affirmance on this appeal.
Affirmed.